X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/1b916de505af87837e093166d3cf9451eb027656..9ca15a2679f3e00e5ea647e3fce2d0d3221ec9e6:/ircd/ircd.c diff --git a/ircd/ircd.c b/ircd/ircd.c index 9343b6bc..432931de 100644 --- a/ircd/ircd.c +++ b/ircd/ircd.c @@ -103,10 +103,10 @@ bool dorehash = false; bool dorehashbans = false; bool doremotd = false; bool kline_queued = false; -int server_state_foreground = 0; -int opers_see_all_users = 0; -int ssl_ok = 0; -int zlib_ok = 1; +bool server_state_foreground = false; +bool opers_see_all_users = false; +bool ssl_ok = false; +bool zlib_ok = true; int testing_conf = 0; time_t startup_time; @@ -605,7 +605,7 @@ charybdis_main(int argc, char *argv[]) setup_signals(); if (testing_conf) - server_state_foreground = 1; + server_state_foreground = true; /* Make sure fd 0, 1 and 2 are in use -- jilles */ do @@ -663,7 +663,7 @@ charybdis_main(int argc, char *argv[]) init_auth(); /* Initialise the auth code */ init_authd(); /* Start up authd. */ - init_nameserver_cache(); /* Get our nameserver cache for STATS a/A */ + init_dns(); /* Start up DNS query system */ privilegeset_set_new("default", "", 0); @@ -713,10 +713,10 @@ charybdis_main(int argc, char *argv[]) if(!rb_setup_ssl_server(ServerInfo.ssl_cert, ServerInfo.ssl_private_key, ServerInfo.ssl_dh_params, ServerInfo.ssl_cipher_list)) { ilog(L_MAIN, "WARNING: Unable to setup SSL."); - ssl_ok = 0; + ssl_ok = false; } else - ssl_ok = 1; + ssl_ok = true; } if (testing_conf)