]> jfr.im git - solanum.git/blobdiff - extensions/restrict-unauthenticated.c
extensions/extb_ssl.c: make certfp parameter case-insensitive
[solanum.git] / extensions / restrict-unauthenticated.c
index 5daacacd7bcc57771168ad1b7b3ab59d1fda34b5..16267a22e5e182c8b49dc4d54218a78cb56bd182 100644 (file)
@@ -16,6 +16,9 @@
 #include "privilege.h"
 #include "s_newconf.h"
 
+static const char restrict_desc[] =
+       "Restrict unautenticated users from doing anything as channel ops";
+
 static void hack_channel_access(void *data);
 
 mapi_hfn_list_av1 restrict_unauthenticated_hfnlist[] = {
@@ -35,5 +38,5 @@ hack_channel_access(void *vdata)
                data->approved = 0;
 }
 
-DECLARE_MODULE_AV1(restrict_unauthenticated, NULL, NULL, NULL, NULL,
-                       restrict_unauthenticated_hfnlist, NULL);
+DECLARE_MODULE_AV2(restrict_unauthenticated, NULL, NULL, NULL, NULL,
+                       restrict_unauthenticated_hfnlist, NULL, NULL, restrict_desc);