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
|
@ -39,16 +39,18 @@
|
|||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
|
||||
static int m_whowas(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static const char whowas_desc[] =
|
||||
"Provides the WHOWAS command to display information on a disconnected user";
|
||||
|
||||
static int m_whowas(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
||||
struct Message whowas_msgtab = {
|
||||
"WHOWAS", 0, 0, 0, 0,
|
||||
{mg_unreg, {m_whowas, 2}, {m_whowas, 4}, mg_ignore, mg_ignore, {m_whowas, 2}}
|
||||
};
|
||||
|
||||
mapi_clist_av1 whowas_clist[] = { &whowas_msgtab, NULL };
|
||||
|
||||
DECLARE_MODULE_AV2(whowas, NULL, NULL, whowas_clist, NULL, NULL, NULL, NULL, whowas_desc);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue