diff --git a/include/s_conf.h b/include/s_conf.h index 0bcd76c3..4f78fbdd 100644 --- a/include/s_conf.h +++ b/include/s_conf.h @@ -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 *); diff --git a/ircd/ircd.c b/ircd/ircd.c index d5726d05..e6ff1d2c 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -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"); diff --git a/ircd/s_conf.c b/ircd/s_conf.c index 4099dd33..d952981b 100644 --- a/ircd/s_conf.c +++ b/ircd/s_conf.c @@ -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;