AV2 descriptions: forgot these
This commit is contained in:
parent
3bde01a819
commit
a278a4fc68
3 changed files with 6 additions and 3 deletions
|
@ -15,6 +15,9 @@
|
||||||
#include "s_conf.h"
|
#include "s_conf.h"
|
||||||
#include "s_newconf.h"
|
#include "s_newconf.h"
|
||||||
|
|
||||||
|
static const char noi_desc[] =
|
||||||
|
"Do not allow users to remove user mode +i unless they are operators";
|
||||||
|
|
||||||
static void h_noi_umode_changed(hook_data_umode_changed *);
|
static void h_noi_umode_changed(hook_data_umode_changed *);
|
||||||
|
|
||||||
mapi_hfn_list_av1 noi_hfnlist[] = {
|
mapi_hfn_list_av1 noi_hfnlist[] = {
|
||||||
|
@ -22,7 +25,7 @@ mapi_hfn_list_av1 noi_hfnlist[] = {
|
||||||
{ NULL, NULL }
|
{ NULL, NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(force_user_invis, NULL, NULL, NULL, NULL, noi_hfnlist, NULL, NULL, NULL);
|
DECLARE_MODULE_AV2(force_user_invis, NULL, NULL, NULL, NULL, noi_hfnlist, NULL, NULL, noi_desc);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_noi_umode_changed(hook_data_umode_changed *hdata)
|
h_noi_umode_changed(hook_data_umode_changed *hdata)
|
||||||
|
|
|
@ -202,4 +202,4 @@ h_hdl_whois(hook_data_client *hdata)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(helpops, _modinit, _moddeinit, helpops_clist, NULL, helpops_hfnlist, NULL, NULL, NULL);
|
DECLARE_MODULE_AV2(helpops, _modinit, _moddeinit, helpops_clist, NULL, helpops_hfnlist, NULL, NULL, helpops_desc);
|
||||||
|
|
|
@ -25,7 +25,7 @@ mapi_hfn_list_av1 gla_hfnlist[] = {
|
||||||
static const char sno_desc[] =
|
static const char sno_desc[] =
|
||||||
"Adds server notices for global XLINEs, KLINEs, and DLINEs";
|
"Adds server notices for global XLINEs, KLINEs, and DLINEs";
|
||||||
|
|
||||||
DECLARE_MODULE_AV2(globallineactive, NULL, NULL, NULL, NULL, gla_hfnlist, NULL, NULL, NULL);
|
DECLARE_MODULE_AV2(globallineactive, NULL, NULL, NULL, NULL, gla_hfnlist, NULL, NULL, sno_desc);
|
||||||
|
|
||||||
static void
|
static void
|
||||||
h_gla_client_exit(hook_data_client_exit *hdata)
|
h_gla_client_exit(hook_data_client_exit *hdata)
|
||||||
|
|
Loading…
Reference in a new issue