]> jfr.im git - solanum.git/blobdiff - ircd/s_conf.c
WHOIS: Make hide_opers_in_whois not affect opers doing whois.
[solanum.git] / ircd / s_conf.c
index ebd6919bb8fc6a82da5c1d69de3b3c5f71e34b06..6c825ffc409c3e195682e221a328c474333a91cb 100644 (file)
@@ -647,7 +647,7 @@ rehash(int sig)
                                     "Got signal SIGHUP, reloading ircd conf. file");
        }
 
-       restart_authd();
+       rehash_authd();
        /* don't close listeners until we know we can go ahead with the rehash */
        read_conf_files(NO);
 
@@ -780,6 +780,7 @@ set_default_conf(void)
        ConfigChannel.knock_delay = 300;
        ConfigChannel.knock_delay_channel = 60;
        ConfigChannel.max_chans_per_user = 15;
+       ConfigChannel.max_chans_per_user_large = 60;
        ConfigChannel.max_bans = 25;
        ConfigChannel.max_bans_large = 500;
        ConfigChannel.only_ascii_channels = NO;
@@ -824,6 +825,7 @@ set_default_conf(void)
 
        ConfigFileEntry.nicklen = NICKLEN;
        ConfigFileEntry.certfp_method = RB_SSL_CERTFP_METH_SHA1;
+       ConfigFileEntry.hide_opers_in_whois = 0;
 
        if (!alias_dict)
                alias_dict = irc_dictionary_create("alias", strcasecmp);