X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/c81afd158057056dae1436c4a24a64e1d4448e34..d09c55338feb5627da978058432a15dccec16907:/extensions/createauthonly.c?ds=sidebyside diff --git a/extensions/createauthonly.c b/extensions/createauthonly.c index 0a701844..dea11a0c 100644 --- a/extensions/createauthonly.c +++ b/extensions/createauthonly.c @@ -16,9 +16,10 @@ #include "snomask.h" #include "numeric.h" -static void h_can_create_channel_authenticated(hook_data_client_approval *); 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[] = { { "can_create_channel", (hookfn) h_can_create_channel_authenticated }, { NULL, NULL }