]> jfr.im git - solanum.git/blobdiff - extensions/sno_globalkline.c
callerid: actually the guard should be for source_p
[solanum.git] / extensions / sno_globalkline.c
index acee03c2442eb399af37559b280f566237563ecd..0b3285b2a9d02e0b9e612dad9182bd971dc2ef9c 100644 (file)
@@ -15,6 +15,9 @@
 #include "send.h"
 #include "s_conf.h"
 
+static const char sno_desc[] =
+       "Adds server notices for global XLINEs, KLINEs, and DLINEs";
+
 static void h_gla_client_exit(hook_data_client_exit *);
 
 mapi_hfn_list_av1 gla_hfnlist[] = {
@@ -22,10 +25,7 @@ mapi_hfn_list_av1 gla_hfnlist[] = {
        { NULL, NULL }
 };
 
-static const char sno_desc[] =
-       "Adds server notices for global XLINEs, KLINEs, and DLINEs";
-
-DECLARE_MODULE_AV2(globallineactive, NULL, NULL, NULL, NULL, gla_hfnlist, NULL, NULL, NULL);
+DECLARE_MODULE_AV2(globallineactive, NULL, NULL, NULL, NULL, gla_hfnlist, NULL, NULL, sno_desc);
 
 static void
 h_gla_client_exit(hook_data_client_exit *hdata)