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 "scache.h"
|
||||
#include "s_assert.h"
|
||||
|
||||
static const char links_desc[] =
|
||||
"Provides the LINKS command to view servers linked to the host server";
|
||||
|
||||
static int m_links(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int mo_links(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static char * clean_string(char *dest, const unsigned char *src, size_t len);
|
||||
|
@ -54,9 +57,6 @@ mapi_hlist_av1 links_hlist[] = {
|
|||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
static const char links_desc[] =
|
||||
"Provides the LINKS command to view servers linked to the host server";
|
||||
|
||||
DECLARE_MODULE_AV2(links, NULL, NULL, links_clist, links_hlist, NULL, NULL, NULL, links_desc);
|
||||
|
||||
/*
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue