Do AV2 strings for m_[d-h]*
This commit is contained in:
parent
5544da98b8
commit
9fd8e7cbc9
5 changed files with 23 additions and 7 deletions
|
@ -60,7 +60,9 @@ struct Message undline_msgtab = {
|
|||
|
||||
mapi_clist_av1 dline_clist[] = { &dline_msgtab, &undline_msgtab, NULL };
|
||||
|
||||
DECLARE_MODULE_AV2(dline, NULL, NULL, dline_clist, NULL, NULL, NULL, NULL, NULL);
|
||||
static const char dline_desc[] = "Provides the DLINE facility to ban users via IP address";
|
||||
|
||||
DECLARE_MODULE_AV2(dline, NULL, NULL, dline_clist, NULL, NULL, NULL, NULL, dline_desc);
|
||||
|
||||
static int remove_temp_dline(struct ConfItem *);
|
||||
static int apply_dline(struct Client *, const char *, int, char *);
|
||||
|
|
|
@ -50,7 +50,10 @@ struct Message encap_msgtab = {
|
|||
};
|
||||
|
||||
mapi_clist_av1 encap_clist[] = { &encap_msgtab, NULL };
|
||||
DECLARE_MODULE_AV2(encap, NULL, NULL, encap_clist, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
static const char encap_desc[] = "Provides the TS6 ENCAP facility";
|
||||
|
||||
DECLARE_MODULE_AV2(encap, NULL, NULL, encap_clist, NULL, NULL, NULL, NULL, encap_desc);
|
||||
|
||||
/* ms_encap()
|
||||
*
|
||||
|
|
|
@ -83,7 +83,11 @@ _moddeinit(void)
|
|||
}
|
||||
|
||||
mapi_clist_av1 etrace_clist[] = { &etrace_msgtab, &chantrace_msgtab, &masktrace_msgtab, NULL };
|
||||
DECLARE_MODULE_AV2(etrace, _modinit, _moddeinit, etrace_clist, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
static const char etrace_desc[] =
|
||||
"Provides enhanced tracing facilities to opers (ETRACE, CHANTRACE, and MASKTRACE)";
|
||||
|
||||
DECLARE_MODULE_AV2(etrace, _modinit, _moddeinit, etrace_clist, NULL, NULL, NULL, NULL, etrace_desc);
|
||||
|
||||
static void do_etrace(struct Client *source_p, int ipv4, int ipv6);
|
||||
static void do_etrace_full(struct Client *source_p);
|
||||
|
|
|
@ -26,7 +26,10 @@ struct Message grant_msgtab = {
|
|||
|
||||
mapi_clist_av1 grant_clist[] = { &grant_msgtab, NULL };
|
||||
|
||||
DECLARE_MODULE_AV2(grant, NULL, NULL, grant_clist, NULL, NULL, NULL, NULL, NULL);
|
||||
static const char grant_desc[] =
|
||||
"Provides the grant facility for giving other users specific privilege sets";
|
||||
|
||||
DECLARE_MODULE_AV2(grant, NULL, NULL, grant_clist, NULL, NULL, NULL, NULL, grant_desc);
|
||||
|
||||
static int
|
||||
mo_grant(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char *parv[])
|
||||
|
|
|
@ -51,7 +51,11 @@ struct Message uhelp_msgtab = {
|
|||
};
|
||||
|
||||
mapi_clist_av1 help_clist[] = { &help_msgtab, &uhelp_msgtab, NULL };
|
||||
DECLARE_MODULE_AV2(help, NULL, NULL, help_clist, NULL, NULL, NULL, NULL, NULL);
|
||||
|
||||
static const char help_desc[] =
|
||||
"Provides the help facility for commands, modes, and server concepts";
|
||||
|
||||
DECLARE_MODULE_AV2(help, NULL, NULL, help_clist, NULL, NULL, NULL, NULL, help_desc);
|
||||
|
||||
/*
|
||||
* m_help - HELP message handler
|
||||
|
|
Loading…
Reference in a new issue