]> jfr.im git - solanum.git/blobdiff - extensions/createoperonly.c
Use const hook data where possible
[solanum.git] / extensions / createoperonly.c
index ec92540a66739f31a9bf1dc6ee4cf17fb3c13329..f763d676c02052c701a5a180c8e2409015b06074 100644 (file)
 #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 IRC operators";
 
+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 }