]> jfr.im git - solanum.git/blobdiff - extensions/sno_whois.c
callerid: actually the guard should be for source_p
[solanum.git] / extensions / sno_whois.c
index 3e6e7203c6c3aa5eb8f8694a55b21d350549adf7..f5c69d92c1accca3567d4cc6b367536467c1f1df 100644 (file)
 /* undefine this to allow anyone to receive whois notifications */
 #define OPERONLY
 
+static const char sno_desc[] =
+       "Adds server notice mask +W that allows "
+#ifdef OPERONLY
+       "operators"
+#else
+       "users"
+#endif
+       " to receive notices for when a WHOIS has been done on them";
+
 void show_whois(hook_data_client *);
 
 mapi_hfn_list_av1 whois_hfnlist[] = {
@@ -38,7 +47,7 @@ fini(void)
        snomask_modes['W'] = 0;
 }
 
-DECLARE_MODULE_AV1(sno_whois, init, fini, NULL, NULL, whois_hfnlist, "$Revision: 3498 $");
+DECLARE_MODULE_AV2(sno_whois, init, fini, NULL, NULL, whois_hfnlist, NULL, NULL, sno_desc);
 
 void
 show_whois(hook_data_client *data)