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:
parent
6287d57fa9
commit
eeabf33a7c
127 changed files with 400 additions and 342 deletions
|
@ -42,6 +42,8 @@
|
|||
#include "messages.h"
|
||||
#include "logger.h"
|
||||
|
||||
static const char omode_desc[] = "Allow admins to forcibly change modes on channels with the OMODE command";
|
||||
|
||||
static int mo_omode(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
||||
struct Message omode_msgtab = {
|
||||
|
@ -51,8 +53,6 @@ struct Message omode_msgtab = {
|
|||
|
||||
mapi_clist_av1 omode_clist[] = { &omode_msgtab, NULL };
|
||||
|
||||
static const char omode_desc[] = "Allow admins to forcibly change modes on channels with the OMODE command";
|
||||
|
||||
DECLARE_MODULE_AV2(omode, NULL, NULL, omode_clist, NULL, NULL, NULL, NULL, omode_desc);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue