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,11 +36,12 @@
#include "modules.h"
#include "s_serv.h"
static const char wallops_desc[] =
"Provides the WALLOPS and OPERWALL commands to message online operators";
static int mo_operwall(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static int ms_operwall(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static int ms_wallops(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static const char wallops_desc[] =
"Provides the WALLOPS and OPERWALL commands to message online operators";
struct Message wallops_msgtab = {
"WALLOPS", 0, 0, 0, 0,
@ -52,6 +53,7 @@ struct Message operwall_msgtab = {
};
mapi_clist_av1 wallops_clist[] = { &wallops_msgtab, &operwall_msgtab, NULL };
DECLARE_MODULE_AV2(wallops, NULL, NULL, wallops_clist, NULL, NULL, NULL, NULL, wallops_desc);
/*