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

@ -39,6 +39,8 @@
#include "packet.h"
#include "cache.h"
static const char oper_desc[] = "Provides the OPER command to become an IRC operator";
static int m_oper(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
struct Message oper_msgtab = {
@ -48,8 +50,6 @@ struct Message oper_msgtab = {
mapi_clist_av1 oper_clist[] = { &oper_msgtab, NULL };
static const char oper_desc[] = "Provides the OPER command to become an IRC operator";
DECLARE_MODULE_AV2(oper, NULL, NULL, oper_clist, NULL, NULL, NULL, NULL, oper_desc);
static int match_oper_password(const char *password, struct oper_conf *oper_p);