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
|
@ -37,6 +37,9 @@
|
|||
#include "s_serv.h"
|
||||
#include "messages.h"
|
||||
|
||||
static const char adminwall_desc[] =
|
||||
"Provides the ADMINWALL command to send a message to all administrators";
|
||||
|
||||
static int mo_adminwall(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int me_adminwall(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
||||
|
@ -45,15 +48,10 @@ struct Message adminwall_msgtab = {
|
|||
{mg_unreg, mg_not_oper, mg_ignore, mg_ignore, {me_adminwall, 2}, {mo_adminwall, 2}}
|
||||
};
|
||||
|
||||
|
||||
mapi_clist_av1 adminwall_clist[] = { &adminwall_msgtab, NULL };
|
||||
|
||||
static const char adminwall_desc[] =
|
||||
"Provides the ADMINWALL command to send a message to all administrators";
|
||||
|
||||
DECLARE_MODULE_AV2(adminwall, NULL, NULL, adminwall_clist, NULL, NULL, NULL, NULL, adminwall_desc);
|
||||
|
||||
|
||||
/*
|
||||
* mo_adminwall (write to *all* admins currently online)
|
||||
* parv[1] = message text
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue