Move module description headers to the top

This is cleaner.

Note this was broken out of a much larger piece of work I did, so if
there's any problems, I apologise!
This commit is contained in:
Elizabeth Myers 2016-03-09 01:29:41 -06:00
parent 6287d57fa9
commit eeabf33a7c
127 changed files with 400 additions and 342 deletions

View 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 *);