ircd: further cleanup of YES/NO

This commit is contained in:
William Pitcock 2016-03-08 13:52:48 -06:00
parent 881acf00c6
commit ea111ea544
3 changed files with 4 additions and 4 deletions

View file

@ -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 deactivate_conf(struct ConfItem *, rb_dlink_node *, time_t);
extern void replace_old_ban(struct ConfItem *); 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 attach_conf(struct Client *, struct ConfItem *);
extern int check_client(struct Client *client_p, struct Client *source_p, const char *); extern int check_client(struct Client *client_p, struct Client *source_p, const char *);

View file

@ -669,7 +669,7 @@ charybdis_main(int argc, char *argv[])
if (testing_conf) if (testing_conf)
fprintf(stderr, "\nBeginning config test\n"); 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);
mod_add_path(MODULE_DIR "/autoload"); mod_add_path(MODULE_DIR "/autoload");

View file

@ -1357,12 +1357,12 @@ get_printable_kline(struct Client *source_p, struct ConfItem *aconf,
/* /*
* read_conf_files * read_conf_files
* *
* inputs - cold start YES or NO * inputs - cold start
* output - none * output - none
* side effects - read all conf files needed, ircd.conf kline.conf etc. * side effects - read all conf files needed, ircd.conf kline.conf etc.
*/ */
void void
read_conf_files(int cold) read_conf_files(bool cold)
{ {
const char *filename; const char *filename;