core/m_server: Add AV2 description

This commit is contained in:
Andrew Wilcox 2016-03-07 01:06:35 -06:00
parent 4dc7383a2f
commit 51588bbc9f

View file

@ -43,6 +43,8 @@
static int mr_server(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static int ms_server(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static int ms_sid(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
static const char m_server_desc[] =
"Provides the TS6 commands to introduce a new server to the network";
struct Message server_msgtab = {
"SERVER", 0, 0, 0, 0,
@ -55,7 +57,7 @@ struct Message sid_msgtab = {
mapi_clist_av1 server_clist[] = { &server_msgtab, &sid_msgtab, NULL };
DECLARE_MODULE_AV2(server, NULL, NULL, server_clist, NULL, NULL, NULL, NULL, NULL);
DECLARE_MODULE_AV2(server, NULL, NULL, server_clist, NULL, NULL, NULL, NULL, m_server_desc);
int bogus_host(const char *host);
static int set_server_gecos(struct Client *, const char *);