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,6 +33,9 @@
|
|||
#include "logger.h"
|
||||
#include "s_conf.h"
|
||||
|
||||
static const char error_desc[] =
|
||||
"Provides the ERROR command for clients and servers";
|
||||
|
||||
static int m_error(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int ms_error(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
||||
|
@ -45,9 +48,6 @@ mapi_clist_av1 error_clist[] = {
|
|||
&error_msgtab, NULL
|
||||
};
|
||||
|
||||
static const char error_desc[] =
|
||||
"Provides the ERROR command for clients and servers";
|
||||
|
||||
DECLARE_MODULE_AV2(error, NULL, NULL, error_clist, NULL, NULL, NULL, NULL, error_desc);
|
||||
|
||||
/* Determine whether an ERROR message is safe to show (no IP address in it) */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue