From a278a4fc68f39d5507f0ee718132a83acbf0386d Mon Sep 17 00:00:00 2001 From: Elizabeth Myers Date: Mon, 7 Mar 2016 04:11:51 -0600 Subject: [PATCH] AV2 descriptions: forgot these --- extensions/force_user_invis.c | 5 ++++- extensions/helpops.c | 2 +- extensions/sno_globalkline.c | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/extensions/force_user_invis.c b/extensions/force_user_invis.c index 7a7d6fb8..6a53ee5e 100644 --- a/extensions/force_user_invis.c +++ b/extensions/force_user_invis.c @@ -15,6 +15,9 @@ #include "s_conf.h" #include "s_newconf.h" +static const char noi_desc[] = + "Do not allow users to remove user mode +i unless they are operators"; + static void h_noi_umode_changed(hook_data_umode_changed *); mapi_hfn_list_av1 noi_hfnlist[] = { @@ -22,7 +25,7 @@ mapi_hfn_list_av1 noi_hfnlist[] = { { NULL, NULL } }; -DECLARE_MODULE_AV2(force_user_invis, NULL, NULL, NULL, NULL, noi_hfnlist, NULL, NULL, NULL); +DECLARE_MODULE_AV2(force_user_invis, NULL, NULL, NULL, NULL, noi_hfnlist, NULL, NULL, noi_desc); static void h_noi_umode_changed(hook_data_umode_changed *hdata) diff --git a/extensions/helpops.c b/extensions/helpops.c index f1002a3f..a47fd24a 100644 --- a/extensions/helpops.c +++ b/extensions/helpops.c @@ -202,4 +202,4 @@ h_hdl_whois(hook_data_client *hdata) } } -DECLARE_MODULE_AV2(helpops, _modinit, _moddeinit, helpops_clist, NULL, helpops_hfnlist, NULL, NULL, NULL); +DECLARE_MODULE_AV2(helpops, _modinit, _moddeinit, helpops_clist, NULL, helpops_hfnlist, NULL, NULL, helpops_desc); diff --git a/extensions/sno_globalkline.c b/extensions/sno_globalkline.c index acee03c2..49fa8bf6 100644 --- a/extensions/sno_globalkline.c +++ b/extensions/sno_globalkline.c @@ -25,7 +25,7 @@ mapi_hfn_list_av1 gla_hfnlist[] = { 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, sno_desc); static void h_gla_client_exit(hook_data_client_exit *hdata)