mirror of
https://github.com/matrix-construct/construct
synced 2024-12-29 00:44:17 +01:00
core/m_die: Add AV2 description
This commit is contained in:
parent
65ca483f97
commit
8798744e50
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue