X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/6287d57fa9dba722225ad3d18d33dcc3686421bf..eeabf33a7c34efbedce519f67b8b87e4c75a422f:/extensions/sno_whois.c diff --git a/extensions/sno_whois.c b/extensions/sno_whois.c index 56d857ca..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,15 +47,6 @@ fini(void) snomask_modes['W'] = 0; } -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"; - DECLARE_MODULE_AV2(sno_whois, init, fini, NULL, NULL, whois_hfnlist, NULL, NULL, sno_desc); void