core/m_server: Add AV2 description
This commit is contained in:
parent
4dc7383a2f
commit
51588bbc9f
1 changed files with 3 additions and 1 deletions
|
@ -43,6 +43,8 @@
|
||||||
static int mr_server(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
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_server(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||||
static int ms_sid(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 = {
|
struct Message server_msgtab = {
|
||||||
"SERVER", 0, 0, 0, 0,
|
"SERVER", 0, 0, 0, 0,
|
||||||
|
@ -55,7 +57,7 @@ struct Message sid_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 server_clist[] = { &server_msgtab, &sid_msgtab, NULL };
|
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);
|
int bogus_host(const char *host);
|
||||||
static int set_server_gecos(struct Client *, const char *);
|
static int set_server_gecos(struct Client *, const char *);
|
||||||
|
|
Loading…
Reference in a new issue