]> jfr.im git - solanum.git/blobdiff - modules/m_rehash.c
Send YES/NO to Davy Jones's Locker.
[solanum.git] / modules / m_rehash.c
index ee98377255d2788682d932fb068c8aa5b0d18552..4fc411614e312c975c4edd045842b34cb5d8d7a7 100644 (file)
@@ -73,7 +73,7 @@ rehash_bans_loc(struct Client *source_p)
        if (!MyConnect(source_p))
                remote_rehash_oper_p = source_p;
 
-       rehash_bans(0);
+       rehash_bans();
 }
 
 static void
@@ -84,8 +84,7 @@ rehash_dns(struct Client *source_p)
        if (!MyConnect(source_p))
                remote_rehash_oper_p = source_p;
 
-       /* reread /etc/resolv.conf and reopen res socket */
-       restart_authd();
+       reload_nameservers();
 }
 
 static void
@@ -198,10 +197,9 @@ static void
 rehash_tresvs(struct Client *source_p)
 {
        struct ConfItem *aconf;
-       struct rb_radixtree_iteration_state iter;
+       rb_radixtree_iteration_state iter;
        rb_dlink_node *ptr;
        rb_dlink_node *next_ptr;
-       int i;
 
        sendto_realops_snomask(SNO_GENERAL, L_ALL, "%s is clearing temp resvs",
                                get_oper_name(source_p));