]> jfr.im git - solanum.git/blobdiff - extensions/sno_whois.c
rename src to ircd, libcore to libircd
[solanum.git] / extensions / sno_whois.c
index cc8194275d90e66f5cb03a15ca01229b5b3fdc70..2ff5d4775d43d27d404a4bdbc0be29a94ac5815c 100644 (file)
@@ -37,7 +37,7 @@ init(void)
 static void
 fini(void)
 {
-       snomask_modes['W'] = find_snomask_slot();
+       snomask_modes['W'] = 0;
 }
 
 DECLARE_MODULE_AV1(sno_whois, init, fini, NULL, NULL, whois_hfnlist, "$Revision: 3498 $");
@@ -48,7 +48,7 @@ show_whois(hook_data_client *data)
        struct Client *source_p = data->client;
        struct Client *target_p = data->target;
 
-       if(MyClient(target_p) && 
+       if(MyClient(target_p) &&
 #ifdef OPERONLY
           IsOper(target_p) &&
 #endif