Bump some extensions to AV2 and add descriptions
This commit is contained in:
parent
1fe7d6083d
commit
dacd2aa8c2
7 changed files with 31 additions and 13 deletions
|
@ -43,6 +43,8 @@ struct Message dehelper_msgtab = {
|
||||||
|
|
||||||
mapi_clist_av1 helpops_clist[] = { &dehelper_msgtab, NULL };
|
mapi_clist_av1 helpops_clist[] = { &dehelper_msgtab, NULL };
|
||||||
|
|
||||||
|
static const char helpops_desc[] = "The helpops system as used by freenode";
|
||||||
|
|
||||||
static int mo_dehelper(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char **parv)
|
static int mo_dehelper(struct MsgBuf *msgbuf_p, struct Client *client_p, struct Client *source_p, int parc, const char **parv)
|
||||||
{
|
{
|
||||||
struct Client *target_p;
|
struct Client *target_p;
|
||||||
|
|
|
@ -19,7 +19,9 @@ mapi_hfn_list_av1 huc_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(hide_uncommon_channels, NULL, NULL, NULL, NULL, huc_hfnlist, NULL, NULL, NULL);
|
static const char hide_desc[] = "Hides channel memberships not shared";
|
||||||
|
|
||||||
|
DECLARE_MODULE_AV2(hide_uncommon_channels, NULL, NULL, NULL, NULL, huc_hfnlist, NULL, NULL, hide_desc);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_huc_doing_whois_channel_visibility(hook_data_client *hdata)
|
h_huc_doing_whois_channel_visibility(hook_data_client *hdata)
|
||||||
|
|
|
@ -106,14 +106,20 @@ mapi_hfn_list_av1 hurt_hfnlist[] = {
|
||||||
|
|
||||||
mapi_clist_av1 hurt_clist[] = { &hurt_msgtab, &heal_msgtab, NULL };
|
mapi_clist_av1 hurt_clist[] = { &hurt_msgtab, &heal_msgtab, NULL };
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(
|
static const char hurt_desc[] =
|
||||||
|
"Prevents \"hurt\" users from messaging anyone but operators or "
|
||||||
|
"services until they identify or are \"healed\"";
|
||||||
|
|
||||||
|
DECLARE_MODULE_AV2(
|
||||||
hurt,
|
hurt,
|
||||||
modinit,
|
modinit,
|
||||||
modfini,
|
modfini,
|
||||||
hurt_clist,
|
hurt_clist,
|
||||||
NULL,
|
NULL,
|
||||||
hurt_hfnlist,
|
hurt_hfnlist,
|
||||||
NULL
|
NULL,
|
||||||
|
NULL,
|
||||||
|
hurt_desc
|
||||||
);
|
);
|
||||||
/* }}} */
|
/* }}} */
|
||||||
|
|
||||||
|
|
|
@ -43,8 +43,10 @@ mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
static const char ip_cloaking_desc[] = "IP cloaking module that uses user mode +h";
|
||||||
ip_cloaking_hfnlist, NULL);
|
|
||||||
|
DECLARE_MODULE_AV2(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
|
ip_cloaking_hfnlist, NULL, NULL, ip_cloaking_desc);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
distribute_hostchange(struct Client *client_p, char *newhost)
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "s_serv.h"
|
#include "s_serv.h"
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
|
|
||||||
/* if you're modifying this module, you'll probably to change this */
|
/* if you're modifying this module, you'll probably want to change this */
|
||||||
#define KEY 0x13748cfa
|
#define KEY 0x13748cfa
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -39,8 +39,10 @@ mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
static const char ip_cloaking_desc[] = "The old IP cloaking mechanism version 3.0";
|
||||||
ip_cloaking_hfnlist, NULL);
|
|
||||||
|
DECLARE_MODULE_AV2(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
|
ip_cloaking_hfnlist, NULL, NULL, ip_cloaking_desc);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
distribute_hostchange(struct Client *client_p, char *newhost)
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
|
|
@ -43,8 +43,10 @@ mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
static const char ip_cloaking_desc[] = "New IP cloaking module that uses user mode +x instead of +h";
|
||||||
ip_cloaking_hfnlist, NULL);
|
|
||||||
|
DECLARE_MODULE_AV2(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
|
ip_cloaking_hfnlist, NULL, NULL, ip_cloaking_desc);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
distribute_hostchange(struct Client *client_p, char *newhost)
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
|
|
@ -10,7 +10,7 @@
|
||||||
#include "s_serv.h"
|
#include "s_serv.h"
|
||||||
#include "numeric.h"
|
#include "numeric.h"
|
||||||
|
|
||||||
/* if you're modifying this module, you'll probably to change this */
|
/* if you're modifying this module, you'll probably want to change this */
|
||||||
#define KEY 0x13748cfa
|
#define KEY 0x13748cfa
|
||||||
|
|
||||||
static int
|
static int
|
||||||
|
@ -39,8 +39,10 @@ mapi_hfn_list_av1 ip_cloaking_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV1(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
static const char ip_cloaking_desc[] = "Very old IP cloaking mechanism";
|
||||||
ip_cloaking_hfnlist, NULL);
|
|
||||||
|
DECLARE_MODULE_AV2(ip_cloaking, _modinit, _moddeinit, NULL, NULL,
|
||||||
|
ip_cloaking_hfnlist, NULL, NULL, ip_cloaking_desc);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
distribute_hostchange(struct Client *client_p, char *newhost)
|
distribute_hostchange(struct Client *client_p, char *newhost)
|
||||||
|
|
Loading…
Reference in a new issue