]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_rehash.c
Use "SID Exists" instead of "Server Exists" where appropriate.
[irc/rqf/shadowircd.git] / modules / m_rehash.c
index e979a587279c3bcdb365c45fa8aba6cd972d19f1..f0da6c183d2f10d93d3463174a2465008f4028a4 100644 (file)
@@ -259,7 +259,6 @@ rehash_help(struct Client *source_p)
        sendto_realops_snomask(SNO_GENERAL, L_ALL,
                             "%s is forcing re-reading of HELP files", 
                             get_oper_name(source_p));
-       clear_help_hash();
        load_help();
 }
 
@@ -402,7 +401,7 @@ me_rehash(struct Client *client_p, struct Client *source_p, int parc, const char
                return 0;
 
        if (!find_shared_conf(source_p->username, source_p->host,
-                               source_p->user->server, SHARED_REHASH))
+                               source_p->servptr->name, SHARED_REHASH))
                return 0;
 
        do_rehash(source_p, parc > 1 ? parv[1] : NULL);