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,12 +39,14 @@
|
|||
#include "hook.h"
|
||||
#include "messages.h"
|
||||
|
||||
unsigned int CAP_REMOVE;
|
||||
static char part_buf[REASONLEN + 1];
|
||||
static const char description[] = "Provides the REMOVE command, an alternative to KICK";
|
||||
|
||||
static int m_remove(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static void remove_quote_part(hook_data_privmsg_channel *);
|
||||
|
||||
unsigned int CAP_REMOVE;
|
||||
static char part_buf[REASONLEN + 1];
|
||||
|
||||
struct Message remove_msgtab = {
|
||||
"REMOVE", 0, 0, 0, 0,
|
||||
{mg_unreg, {m_remove, 3}, {m_remove, 3}, {m_remove, 3}, mg_ignore, {m_remove, 3}}
|
||||
|
@ -60,8 +62,6 @@ mapi_cap_list_av2 remove_cap_list[] = {
|
|||
{ 0, NULL, NULL, NULL }
|
||||
};
|
||||
|
||||
const char description[] = "Provides the REMOVE command, an alternative to KICK";
|
||||
|
||||
DECLARE_MODULE_AV2(remove, NULL, NULL, remove_clist, NULL, remove_hfnlist, remove_cap_list, NULL, description);
|
||||
|
||||
static int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue