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
|
@ -50,6 +50,9 @@
|
|||
#include "logger.h"
|
||||
#include "supported.h"
|
||||
|
||||
static const char etrace_desc[] =
|
||||
"Provides enhanced tracing facilities to opers (ETRACE, CHANTRACE, and MASKTRACE)";
|
||||
|
||||
static int mo_etrace(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int me_etrace(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int m_chantrace(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
@ -84,9 +87,6 @@ _moddeinit(void)
|
|||
|
||||
mapi_clist_av1 etrace_clist[] = { &etrace_msgtab, &chantrace_msgtab, &masktrace_msgtab, NULL };
|
||||
|
||||
static const char etrace_desc[] =
|
||||
"Provides enhanced tracing facilities to opers (ETRACE, CHANTRACE, and MASKTRACE)";
|
||||
|
||||
DECLARE_MODULE_AV2(etrace, _modinit, _moddeinit, etrace_clist, NULL, NULL, NULL, NULL, etrace_desc);
|
||||
|
||||
static void do_etrace(struct Client *source_p, int ipv4, int ipv6);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue