mirror of
https://github.com/matrix-construct/construct
synced 2024-12-30 17:34:04 +01:00
core/m_kick: Add AV2 description
This commit is contained in:
parent
823ab5285f
commit
33b2b6c1ab
1 changed files with 2 additions and 1 deletions
|
@ -39,6 +39,7 @@
|
||||||
|
|
||||||
static int m_kick(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
static int m_kick(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||||
#define mg_kick { m_kick, 3 }
|
#define mg_kick { m_kick, 3 }
|
||||||
|
static const char kick_desc[] = "Provides the KICK command to remove a user from a channel";
|
||||||
|
|
||||||
struct Message kick_msgtab = {
|
struct Message kick_msgtab = {
|
||||||
"KICK", 0, 0, 0, 0,
|
"KICK", 0, 0, 0, 0,
|
||||||
|
@ -47,7 +48,7 @@ struct Message kick_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 kick_clist[] = { &kick_msgtab, NULL };
|
mapi_clist_av1 kick_clist[] = { &kick_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(kick, NULL, NULL, kick_clist, NULL, NULL, NULL, NULL, NULL);
|
DECLARE_MODULE_AV2(kick, NULL, NULL, kick_clist, NULL, NULL, NULL, NULL, kick_desc);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
** m_kick
|
** m_kick
|
||||||
|
|
Loading…
Reference in a new issue