]> jfr.im git - solanum.git/blobdiff - extensions/createauthonly.c
filter: drop messages if we're ACT_KILLing them
[solanum.git] / extensions / createauthonly.c
index bd0f2e3332cacf0712beeb150c115cd41f9ba208..dea11a0cc34d6adfa73692e07c4c6121a20eb476 100644 (file)
@@ -16,6 +16,8 @@
 #include "snomask.h"
 #include "numeric.h"
 
+static const char restrict_desc[] = "Restricts channel creation to authenticated users and IRC operators only";
+
 static void h_can_create_channel_authenticated(hook_data_client_approval *);
 
 mapi_hfn_list_av1 restrict_hfnlist[] = {
@@ -23,7 +25,7 @@ mapi_hfn_list_av1 restrict_hfnlist[] = {
        { NULL, NULL }
 };
 
-DECLARE_MODULE_AV2(createauthonly, NULL, NULL, NULL, NULL, restrict_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(createauthonly, NULL, NULL, NULL, NULL, restrict_hfnlist, NULL, NULL, restrict_desc);
 
 static void
 h_can_create_channel_authenticated(hook_data_client_approval *data)