X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/04f832b7783aa1973717135a04aaa89d62b12e25..5bc95eaf4ad00897e6ff9b37225c2dd4399eadda:/extensions/createoperonly.c diff --git a/extensions/createoperonly.c b/extensions/createoperonly.c index 1fdb41d3..f763d676 100644 --- a/extensions/createoperonly.c +++ b/extensions/createoperonly.c @@ -16,6 +16,8 @@ #include "snomask.h" #include "numeric.h" +static const char restrict_desc[] = "Restricts channel creation to IRC operators"; + 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(createoperonly, NULL, NULL, NULL, NULL, restrict_hfnlist, NULL, NULL, NULL); +DECLARE_MODULE_AV2(createoperonly, NULL, NULL, NULL, NULL, restrict_hfnlist, NULL, NULL, restrict_desc); static void h_can_create_channel_authenticated(hook_data_client_approval *data)