mirror of
https://github.com/matrix-construct/construct
synced 2024-10-03 14:18:53 +02:00
modules: Add AV2 description to m_xline
This commit is contained in:
parent
3bf449fe26
commit
893806a6ea
1 changed files with 3 additions and 1 deletions
|
@ -60,6 +60,8 @@ static int ms_unxline(struct MsgBuf *msgbuf_p, struct Client *client_p, struct C
|
||||||
const char *parv[]);
|
const char *parv[]);
|
||||||
static int me_unxline(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc,
|
static int me_unxline(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc,
|
||||||
const char *parv[]);
|
const char *parv[]);
|
||||||
|
static const char xline_desc[] =
|
||||||
|
"Provides management of GECOS bans via (UN)XLINE command";
|
||||||
|
|
||||||
struct Message xline_msgtab = {
|
struct Message xline_msgtab = {
|
||||||
"XLINE", 0, 0, 0, 0,
|
"XLINE", 0, 0, 0, 0,
|
||||||
|
@ -73,7 +75,7 @@ struct Message unxline_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 xline_clist[] = { &xline_msgtab, &unxline_msgtab, NULL };
|
mapi_clist_av1 xline_clist[] = { &xline_msgtab, &unxline_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(xline, NULL, NULL, xline_clist, NULL, NULL, NULL, NULL, NULL);
|
DECLARE_MODULE_AV2(xline, NULL, NULL, xline_clist, NULL, NULL, NULL, NULL, xline_desc);
|
||||||
|
|
||||||
static int valid_xline(struct Client *, const char *, const char *);
|
static int valid_xline(struct Client *, const char *, const char *);
|
||||||
static void apply_xline(struct Client *client_p, const char *name,
|
static void apply_xline(struct Client *client_p, const char *name,
|
||||||
|
|
Loading…
Reference in a new issue