From: Andrew Wilcox Date: Mon, 7 Mar 2016 06:48:48 +0000 (-0600) Subject: core/m_die: Add AV2 description X-Git-Url: https://jfr.im/git/solanum.git/commitdiff_plain/8798744e502d19c821ea2c5c5b4019898ca606c5 core/m_die: Add AV2 description --- diff --git a/modules/core/m_die.c b/modules/core/m_die.c index bb7aa4e4..aaece7a7 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