]> jfr.im git - solanum.git/blobdiff - modules/m_motd.c
Move module description headers to the top
[solanum.git] / modules / m_motd.c
index 873825b73be74416b9dfecc30b526438048ecfcc..b0299bdf8e1fc2b3a87db2105de75b25fd600fd8 100644 (file)
@@ -36,6 +36,8 @@
 #include "cache.h"
 #include "ratelimit.h"
 
+static const char motd_desc[] = "Provides the MOTD command to view the Message of the Day";
+
 static int m_motd(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 static int mo_motd(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
 
@@ -52,8 +54,6 @@ mapi_hlist_av1 motd_hlist[] = {
        { NULL, NULL }
 };
 
-static const char motd_desc[] = "Provides the MOTD command to view the Message of the Day";
-
 DECLARE_MODULE_AV2(motd, NULL, NULL, motd_clist, motd_hlist, NULL, NULL, NULL, motd_desc);
 
 static void motd_spy(struct Client *);