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
|
@ -34,6 +34,9 @@
|
|||
#include "hook.h"
|
||||
#include "modules.h"
|
||||
|
||||
const char admin_desc[] =
|
||||
"Provides the ADMIN command to show server administrator information";
|
||||
|
||||
static int m_admin(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int mr_admin(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int ms_admin(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
@ -54,9 +57,6 @@ mapi_hlist_av1 admin_hlist[] = {
|
|||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
const char admin_desc[] =
|
||||
"Provides the ADMIN command to show server administrator information";
|
||||
|
||||
DECLARE_MODULE_AV2(admin, NULL, NULL, admin_clist, admin_hlist, NULL, NULL, NULL, admin_desc);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue