]> jfr.im git - solanum.git/blobdiff - extensions/sno_channelcreate.c
explicitly show IP in SNO_BANNED snotes
[solanum.git] / extensions / sno_channelcreate.c
index d3ab9f55d216b8560471245db24fb33eb4871d2b..ba81dd193bb36cc60974b862334be97ae5e39b55 100644 (file)
 #include "snomask.h"
 #include "rb_lib.h"
 
+static const char sno_desc[] =
+       "Adds server notice mask +l that allows operators to receive channel creation notices";
+
 static int _modinit(void);
 static void _moddeinit(void);
 static void h_scc_channel_join(void *);
 
 mapi_hfn_list_av1 scc_hfnlist[] = {
-       { "channel_join", (hookfn) h_scc_channel_join },
+       { "channel_join", h_scc_channel_join },
        { NULL, NULL }
 };
 
-static const char sno_desc[] =
-       "Adds server notice mask +l that allows operators to receive channel creation notices";
-
 DECLARE_MODULE_AV2(sno_channelcreate, _modinit, _moddeinit, NULL, NULL, scc_hfnlist, NULL, NULL, sno_desc);
 
 static int