0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-18 07:50:57 +01:00

Add AV2 descriptions for extensions/sno_*

This commit is contained in:
Elizabeth Myers 2016-03-07 04:02:27 -06:00
parent 3fd3d7e176
commit 84b4c05888
6 changed files with 29 additions and 5 deletions

View file

@ -21,7 +21,10 @@ mapi_hfn_list_av1 scc_hfnlist[] = {
{ NULL, NULL } { 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 static int
_modinit(void) _modinit(void)

View file

@ -26,7 +26,10 @@ mapi_hfn_list_av1 gcn_hfnlist[] = {
{ NULL, NULL } { 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 static int
_modinit(void) _modinit(void)

View file

@ -22,6 +22,9 @@ mapi_hfn_list_av1 gla_hfnlist[] = {
{ NULL, NULL } { 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); DECLARE_MODULE_AV2(globallineactive, NULL, NULL, NULL, NULL, gla_hfnlist, NULL, NULL, NULL);
static void static void

View file

@ -19,7 +19,10 @@ mapi_hfn_list_av1 gcn_hfnlist[] = {
{ NULL, NULL } { 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 static int
_modinit(void) _modinit(void)

View file

@ -18,7 +18,10 @@ mapi_hfn_list_av1 sgo_hfnlist[] = {
{ NULL, NULL } { 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 static void
h_sgo_umode_changed(void *vdata) h_sgo_umode_changed(void *vdata)

View file

@ -38,7 +38,16 @@ fini(void)
snomask_modes['W'] = 0; 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 void
show_whois(hook_data_client *data) show_whois(hook_data_client *data)