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
|
@ -33,16 +33,18 @@
|
|||
#include "parse.h"
|
||||
#include "modules.h"
|
||||
|
||||
static int m_users(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static const char users_desc[] =
|
||||
"Provides the USERS command to display connection statistics locally and globally";
|
||||
|
||||
static int m_users(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
||||
struct Message users_msgtab = {
|
||||
"USERS", 0, 0, 0, 0,
|
||||
{mg_unreg, {m_users, 0}, {m_users, 0}, mg_ignore, mg_ignore, {m_users, 0}}
|
||||
};
|
||||
|
||||
mapi_clist_av1 users_clist[] = { &users_msgtab, NULL };
|
||||
|
||||
DECLARE_MODULE_AV2(users, NULL, NULL, users_clist, NULL, NULL, NULL, NULL, users_desc);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue