From 25e38006dbd184883547d783f93701dd22210f3c Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Mon, 7 Mar 2016 01:02:19 -0600 Subject: [PATCH] core/m_part: Add AV2 description --- modules/core/m_part.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/core/m_part.c b/modules/core/m_part.c index cd26b6773..73e7277c5 100644 --- a/modules/core/m_part.c +++ b/modules/core/m_part.c @@ -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,