diff --git a/extensions/sno_channelcreate.c b/extensions/sno_channelcreate.c index 58627999..d3ab9f55 100644 --- a/extensions/sno_channelcreate.c +++ b/extensions/sno_channelcreate.c @@ -21,7 +21,10 @@ mapi_hfn_list_av1 scc_hfnlist[] = { { NULL, NULL } }; -DECLARE_MODULE_AV2(sno_channelcreate, _modinit, _moddeinit, NULL, NULL, scc_hfnlist, NULL, NULL, NULL); +static const char sno_desc[] = + "Adds server notice mask +l that allows operators to receive channel creation notices"; + +DECLARE_MODULE_AV2(sno_channelcreate, _modinit, _moddeinit, NULL, NULL, scc_hfnlist, NULL, NULL, sno_desc); static int _modinit(void) diff --git a/extensions/sno_farconnect.c b/extensions/sno_farconnect.c index d1c1a900..36e2dbae 100644 --- a/extensions/sno_farconnect.c +++ b/extensions/sno_farconnect.c @@ -26,7 +26,10 @@ mapi_hfn_list_av1 gcn_hfnlist[] = { { NULL, NULL } }; -DECLARE_MODULE_AV2(globalconnexit, _modinit, _moddeinit, NULL, NULL, gcn_hfnlist, NULL, NULL, NULL); +static const char sno_desc[] = + "Adds server notice mask +F that allows operators to receive notices for connections on other servers"; + +DECLARE_MODULE_AV2(globalconnexit, _modinit, _moddeinit, NULL, NULL, gcn_hfnlist, NULL, NULL, sno_desc); static int _modinit(void) diff --git a/extensions/sno_globalkline.c b/extensions/sno_globalkline.c index 630b0607..acee03c2 100644 --- a/extensions/sno_globalkline.c +++ b/extensions/sno_globalkline.c @@ -22,6 +22,9 @@ mapi_hfn_list_av1 gla_hfnlist[] = { { NULL, NULL } }; +static const char sno_desc[] = + "Adds server notices for global XLINEs, KLINEs, and DLINEs"; + DECLARE_MODULE_AV2(globallineactive, NULL, NULL, NULL, NULL, gla_hfnlist, NULL, NULL, NULL); static void diff --git a/extensions/sno_globalnickchange.c b/extensions/sno_globalnickchange.c index 3d75e8ad..17ef37cd 100644 --- a/extensions/sno_globalnickchange.c +++ b/extensions/sno_globalnickchange.c @@ -19,7 +19,10 @@ mapi_hfn_list_av1 gcn_hfnlist[] = { { NULL, NULL } }; -DECLARE_MODULE_AV2(globalnickchange, _modinit, NULL, NULL, NULL, gcn_hfnlist, NULL, NULL, NULL); +static const char sno_desc[] = + "Adds server notices for remote nick changes"; + +DECLARE_MODULE_AV2(globalnickchange, _modinit, NULL, NULL, NULL, gcn_hfnlist, NULL, NULL, sno_desc); static int _modinit(void) diff --git a/extensions/sno_globaloper.c b/extensions/sno_globaloper.c index 97509443..7bf7a191 100644 --- a/extensions/sno_globaloper.c +++ b/extensions/sno_globaloper.c @@ -18,7 +18,10 @@ mapi_hfn_list_av1 sgo_hfnlist[] = { { NULL, NULL } }; -DECLARE_MODULE_AV2(sno_globaloper, NULL, NULL, NULL, NULL, sgo_hfnlist, NULL, NULL, NULL); +static const char sno_desc[] = + "Adds server notices for remote oper up"; + +DECLARE_MODULE_AV2(sno_globaloper, NULL, NULL, NULL, NULL, sgo_hfnlist, NULL, NULL, sno_desc); static void h_sgo_umode_changed(void *vdata) diff --git a/extensions/sno_whois.c b/extensions/sno_whois.c index 93c07c8e..56d857ca 100644 --- a/extensions/sno_whois.c +++ b/extensions/sno_whois.c @@ -38,7 +38,16 @@ fini(void) snomask_modes['W'] = 0; } -DECLARE_MODULE_AV2(sno_whois, init, fini, NULL, NULL, whois_hfnlist, NULL, NULL, NULL); +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 show_whois(hook_data_client *data)