From 8798744e502d19c821ea2c5c5b4019898ca606c5 Mon Sep 17 00:00:00 2001 From: Andrew Wilcox Date: Mon, 7 Mar 2016 00:48:48 -0600 Subject: [PATCH] core/m_die: Add AV2 description --- modules/core/m_die.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/core/m_die.c b/modules/core/m_die.c index bb7aa4e46..aaece7a70 100644 --- a/modules/core/m_die.c +++ b/modules/core/m_die.c @@ -39,6 +39,7 @@ static int mo_die(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int me_die(struct MsgBuf *, struct Client *, struct Client *, int, const char **); static int do_die(struct Client *, const char *); +static const char die_desc[] = "Provides the DIE command to allow an operator to shutdown a server"; static struct Message die_msgtab = { "DIE", 0, 0, 0, 0, @@ -47,7 +48,7 @@ static struct Message die_msgtab = { mapi_clist_av1 die_clist[] = { &die_msgtab, NULL }; -DECLARE_MODULE_AV2(die, NULL, NULL, die_clist, NULL, NULL, NULL, NULL, NULL); +DECLARE_MODULE_AV2(die, NULL, NULL, die_clist, NULL, NULL, NULL, NULL, die_desc); /* * mo_die - DIE command handler