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
|
@ -41,11 +41,12 @@
|
|||
#include "logger.h"
|
||||
#include "inline/stringops.h"
|
||||
|
||||
static int m_topic(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int ms_topic(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static const char topic_desc[] =
|
||||
"Provides the TOPIC command to set, remove, and inspect channel topics";
|
||||
|
||||
static int m_topic(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static int ms_topic(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
|
||||
struct Message topic_msgtab = {
|
||||
"TOPIC", 0, 0, 0, 0,
|
||||
{mg_unreg, {m_topic, 2}, {m_topic, 2}, {ms_topic, 5}, mg_ignore, {m_topic, 2}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue