core/m_ban: Add AV2 description
This commit is contained in:
parent
c81afd1580
commit
65ca483f97
1 changed files with 2 additions and 1 deletions
|
@ -48,6 +48,7 @@
|
||||||
|
|
||||||
static int m_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
static int m_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||||
static int ms_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
static int ms_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[]);
|
||||||
|
static const char ban_desc[] = "Provides the TS6 BAN command for propagating network-wide bans";
|
||||||
|
|
||||||
struct Message ban_msgtab = {
|
struct Message ban_msgtab = {
|
||||||
"BAN", 0, 0, 0, 0,
|
"BAN", 0, 0, 0, 0,
|
||||||
|
@ -55,7 +56,7 @@ struct Message ban_msgtab = {
|
||||||
};
|
};
|
||||||
|
|
||||||
mapi_clist_av1 ban_clist[] = { &ban_msgtab, NULL };
|
mapi_clist_av1 ban_clist[] = { &ban_msgtab, NULL };
|
||||||
DECLARE_MODULE_AV2(ban, NULL, NULL, ban_clist, NULL, NULL, NULL, NULL, NULL);
|
DECLARE_MODULE_AV2(ban, NULL, NULL, ban_clist, NULL, NULL, NULL, NULL, ban_desc);
|
||||||
|
|
||||||
static int
|
static int
|
||||||
m_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
m_ban(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||||
|
|
Loading…
Reference in a new issue