]> jfr.im git - solanum.git/blobdiff - extensions/force_user_invis.c
AV2 descriptions: forgot these
[solanum.git] / extensions / force_user_invis.c
index 7a7d6fb8550428901b079f455137dbb3c8880ce0..6a53ee5e817455649f31990a6f6a65762202f2c1 100644 (file)
@@ -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)