]> jfr.im git - solanum.git/blobdiff - extensions/chm_sslonly.c
callerid: actually the guard should be for source_p
[solanum.git] / extensions / chm_sslonly.c
index 13051beabb818084ffdc071107c7ea0821cecc29..2cbc7a47ef9d9557e8d6f1a2bf7c027a6e2f7edf 100644 (file)
@@ -10,6 +10,9 @@
 #include "numeric.h"
 #include "chmode.h"
 
+static const char chm_sslonly_desc[] =
+       "Adds channel mode +S that bans non-SSL users from joing a channel";
+
 static void h_can_join(hook_data_channel *);
 
 mapi_hfn_list_av1 sslonly_hfnlist[] = {
@@ -19,9 +22,6 @@ mapi_hfn_list_av1 sslonly_hfnlist[] = {
 
 static unsigned int mymode;
 
-static const char chm_sslonly_desc[] =
-       "Adds channel mode +S that bans non-SSL users from joing a channel";
-
 static int
 _modinit(void)
 {