mirror of
https://github.com/matrix-construct/construct
synced 2024-11-29 18:22:50 +01:00
core/m_message: Add AV2 description
This commit is contained in:
parent
ac1b809c5f
commit
8661d5ae5c
1 changed files with 3 additions and 1 deletions
|
@ -47,6 +47,8 @@
|
||||||
static int m_message(enum message_type, struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
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_privmsg(struct MsgBuf *, struct Client *, struct Client *, int, const char **);
|
||||||
static int m_notice(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 void expire_tgchange(void *unused);
|
||||||
static struct ev_entry *expire_tgchange_event;
|
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 };
|
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
|
struct entity
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue