From 8661d5ae5cd04c88b24634b6c3cb2ed23decfdab Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Mon, 7 Mar 2016 00:57:05 -0600 Subject: [PATCH] core/m_message: Add AV2 description --- modules/core/m_message.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/core/m_message.c b/modules/core/m_message.c index 4b98d222..dd6b7bee 100644 --- a/modules/core/m_message.c +++ b/modules/core/m_message.c @@ -47,6 +47,8 @@ static int m_message(enum message_type, struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int m_privmsg(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int m_notice(struct MsgBuf *, struct Client *, struct Client *, int, const char **); +static const char message_desc[] = + "Provides the PRIVMSG and NOTICE commands to send messages to users and channels"; static void expire_tgchange(void *unused); static struct ev_entry *expire_tgchange_event; @@ -76,7 +78,7 @@ struct Message notice_msgtab = { mapi_clist_av1 message_clist[] = { &privmsg_msgtab, ¬ice_msgtab, NULL }; -DECLARE_MODULE_AV2(message, modinit, moddeinit, message_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(message, modinit, moddeinit, message_clist, NULL, NULL, NULL, NULL, message_desc); struct entity {