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
|
@ -44,6 +44,8 @@
|
|||
#include "s_conf.h"
|
||||
#include "hash.h"
|
||||
|
||||
static const char cap_desc[] = "Provides the commands used for client capability negotiation";
|
||||
|
||||
typedef int (*bqcmp)(const void *, const void *);
|
||||
|
||||
static int m_cap(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
@ -55,8 +57,6 @@ struct Message cap_msgtab = {
|
|||
|
||||
mapi_clist_av1 cap_clist[] = { &cap_msgtab, NULL };
|
||||
|
||||
static const char cap_desc[] = "Provides the commands used for client capability negotiation";
|
||||
|
||||
DECLARE_MODULE_AV2(cap, NULL, NULL, cap_clist, NULL, NULL, NULL, NULL, cap_desc);
|
||||
|
||||
#define IsCapableEntry(c, e) IsCapable(c, 1 << (e)->value)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue