ircd: further cleanup of YES/NO
This commit is contained in:
parent
881acf00c6
commit
ea111ea544
3 changed files with 4 additions and 4 deletions
|
@ -348,7 +348,7 @@ extern rb_dlink_node *find_prop_ban(unsigned int status, const char *user, const
|
|||
extern void deactivate_conf(struct ConfItem *, rb_dlink_node *, time_t);
|
||||
extern void replace_old_ban(struct ConfItem *);
|
||||
|
||||
extern void read_conf_files(int cold);
|
||||
extern void read_conf_files(bool cold);
|
||||
|
||||
extern int attach_conf(struct Client *, struct ConfItem *);
|
||||
extern int check_client(struct Client *client_p, struct Client *source_p, const char *);
|
||||
|
|
|
@ -669,7 +669,7 @@ charybdis_main(int argc, char *argv[])
|
|||
|
||||
if (testing_conf)
|
||||
fprintf(stderr, "\nBeginning config test\n");
|
||||
read_conf_files(YES); /* cold start init conf files */
|
||||
read_conf_files(true); /* cold start init conf files */
|
||||
|
||||
mod_add_path(MODULE_DIR);
|
||||
mod_add_path(MODULE_DIR "/autoload");
|
||||
|
|
|
@ -1357,12 +1357,12 @@ get_printable_kline(struct Client *source_p, struct ConfItem *aconf,
|
|||
/*
|
||||
* read_conf_files
|
||||
*
|
||||
* inputs - cold start YES or NO
|
||||
* inputs - cold start
|
||||
* output - none
|
||||
* side effects - read all conf files needed, ircd.conf kline.conf etc.
|
||||
*/
|
||||
void
|
||||
read_conf_files(int cold)
|
||||
read_conf_files(bool cold)
|
||||
{
|
||||
const char *filename;
|
||||
|
||||
|
|
Loading…
Reference in a new issue