mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 00:44:17 +01:00
core/m_part: Add AV2 description
This commit is contained in:
parent
d821282260
commit
25e38006db
1 changed files with 2 additions and 1 deletions
|
@ -41,6 +41,7 @@
|
|||
#include "hook.h"
|
||||
|
||||
static int m_part(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||
static const char part_desc[] = "Provides the PART command to leave a channel";
|
||||
|
||||
struct Message part_msgtab = {
|
||||
"PART", 0, 0, 0, 0,
|
||||
|
@ -49,7 +50,7 @@ struct Message part_msgtab = {
|
|||
|
||||
mapi_clist_av1 part_clist[] = { &part_msgtab, NULL };
|
||||
|
||||
DECLARE_MODULE_AV2(part, NULL, NULL, part_clist, NULL, NULL, NULL, NULL, NULL);
|
||||
DECLARE_MODULE_AV2(part, NULL, NULL, part_clist, NULL, NULL, NULL, NULL, part_desc);
|
||||
|
||||
static void part_one_client(struct Client *client_p,
|
||||
struct Client *source_p, char *name,
|
||||
|
|
Loading…
Reference in a new issue