X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/04f832b7783aa1973717135a04aaa89d62b12e25..d09c55338feb5627da978058432a15dccec16907:/extensions/sno_whois.c diff --git a/extensions/sno_whois.c b/extensions/sno_whois.c index 93c07c8e..f5c69d92 100644 --- a/extensions/sno_whois.c +++ b/extensions/sno_whois.c @@ -16,6 +16,15 @@ /* 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_AV2(sno_whois, init, fini, NULL, NULL, whois_hfnlist, NULL, NULL, NULL); +DECLARE_MODULE_AV2(sno_whois, init, fini, NULL, NULL, whois_hfnlist, NULL, NULL, sno_desc); void show_whois(hook_data_client *data)