New extensions documented + typo fixed
This commit is contained in:
parent
cda884c6f2
commit
95dc12515b
|
@ -10,6 +10,9 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* Extensions */
|
/* Extensions */
|
||||||
|
#loadmodule "extensions/chm_operonly_compat.so";
|
||||||
|
#loadmodule "extensions/chm_quietunreg_compat.so";
|
||||||
|
#loadmodule "extensions/chm_sslonly_compat.so";
|
||||||
#loadmodule "extensions/createauthonly.so";
|
#loadmodule "extensions/createauthonly.so";
|
||||||
#loadmodule "extensions/extb_account.so";
|
#loadmodule "extensions/extb_account.so";
|
||||||
#loadmodule "extensions/extb_canjoin.so";
|
#loadmodule "extensions/extb_canjoin.so";
|
||||||
|
@ -18,6 +21,7 @@
|
||||||
#loadmodule "extensions/extb_oper.so";
|
#loadmodule "extensions/extb_oper.so";
|
||||||
#loadmodule "extensions/extb_realname.so";
|
#loadmodule "extensions/extb_realname.so";
|
||||||
#loadmodule "extensions/extb_server.so";
|
#loadmodule "extensions/extb_server.so";
|
||||||
|
#loadmodule "extensions/extb_ssl.so";
|
||||||
#loadmodule "extensions/hurt.so";
|
#loadmodule "extensions/hurt.so";
|
||||||
#loadmodule "extensions/ip_cloaking.so";
|
#loadmodule "extensions/ip_cloaking.so";
|
||||||
#loadmodule "extensions/m_findforwards.so";
|
#loadmodule "extensions/m_findforwards.so";
|
||||||
|
|
|
@ -41,6 +41,9 @@
|
||||||
* Charybdis contains several extensions that are not enabled by default.
|
* Charybdis contains several extensions that are not enabled by default.
|
||||||
* To use them, uncomment the lines below.
|
* To use them, uncomment the lines below.
|
||||||
*
|
*
|
||||||
|
* Emulates channel mode +-O (oper only) (+-iI $o) -- chm_operonly_compat.so
|
||||||
|
* Emulates channel mode +-R (quiet unreg) (+-q $~a) -- chm_quietunreg_compat.so
|
||||||
|
* Emulates channel mode +-S (ssl only) (+-b $~z) -- chm_sslonly_compat.so
|
||||||
* Restrict channel creation to logged in users -- createauthonly.so
|
* Restrict channel creation to logged in users -- createauthonly.so
|
||||||
* Account bans (+b $a[:mask]) -- extb_account.so
|
* Account bans (+b $a[:mask]) -- extb_account.so
|
||||||
* Banned from another channel (+b $j:mask) -- extb_canjoin.so
|
* Banned from another channel (+b $j:mask) -- extb_canjoin.so
|
||||||
|
@ -49,6 +52,7 @@
|
||||||
* Oper bans (+b $o) -- extb_oper.so
|
* Oper bans (+b $o) -- extb_oper.so
|
||||||
* Realname (gecos) bans (+b $r:mask) -- extb_realname.so
|
* Realname (gecos) bans (+b $r:mask) -- extb_realname.so
|
||||||
* Server bans (+b $s:mask) -- extb_server.so
|
* Server bans (+b $s:mask) -- extb_server.so
|
||||||
|
* SSL bans (+b $z) -- extb_ssl.so
|
||||||
* HURT system -- hurt.so
|
* HURT system -- hurt.so
|
||||||
* Host mangling (umode +h) -- ip_cloaking.so
|
* Host mangling (umode +h) -- ip_cloaking.so
|
||||||
* Find channel forwards -- m_findforwards.so
|
* Find channel forwards -- m_findforwards.so
|
||||||
|
@ -59,6 +63,9 @@
|
||||||
* Remote oper up notices -- sno_globaloper.so
|
* Remote oper up notices -- sno_globaloper.so
|
||||||
* /whois notifications (snomask +W) -- sno_whois.so
|
* /whois notifications (snomask +W) -- sno_whois.so
|
||||||
*/
|
*/
|
||||||
|
#loadmodule "extensions/chm_operonly_compat.so";
|
||||||
|
#loadmodule "extensions/chm_quietunreg_compat.so";
|
||||||
|
#loadmodule "extensions/chm_sslonly_compat.so";
|
||||||
#loadmodule "extensions/createauthonly.so";
|
#loadmodule "extensions/createauthonly.so";
|
||||||
#loadmodule "extensions/extb_account.so";
|
#loadmodule "extensions/extb_account.so";
|
||||||
#loadmodule "extensions/extb_canjoin.so";
|
#loadmodule "extensions/extb_canjoin.so";
|
||||||
|
@ -67,6 +74,7 @@
|
||||||
#loadmodule "extensions/extb_oper.so";
|
#loadmodule "extensions/extb_oper.so";
|
||||||
#loadmodule "extensions/extb_realname.so";
|
#loadmodule "extensions/extb_realname.so";
|
||||||
#loadmodule "extensions/extb_server.so";
|
#loadmodule "extensions/extb_server.so";
|
||||||
|
#loadmodule "extensions/extb_ssl.so";
|
||||||
#loadmodule "extensions/hurt.so";
|
#loadmodule "extensions/hurt.so";
|
||||||
#loadmodule "extensions/ip_cloaking.so";
|
#loadmodule "extensions/ip_cloaking.so";
|
||||||
#loadmodule "extensions/m_findforwards.so";
|
#loadmodule "extensions/m_findforwards.so";
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
/* Oper extban type: matches ssl users */
|
/* SSL extban type: matches ssl users */
|
||||||
|
|
||||||
#include "stdinc.h"
|
#include "stdinc.h"
|
||||||
#include "modules.h"
|
#include "modules.h"
|
||||||
|
@ -31,8 +31,6 @@ static int eb_ssl(const char *data, struct Client *client_p,
|
||||||
|
|
||||||
(void)chptr;
|
(void)chptr;
|
||||||
(void)mode_type;
|
(void)mode_type;
|
||||||
/* perhaps use data somehow? (opernick/flags?) */
|
|
||||||
/* so deny any bans with data for now */
|
|
||||||
if (data != NULL)
|
if (data != NULL)
|
||||||
return EXTBAN_INVALID;
|
return EXTBAN_INVALID;
|
||||||
return IsSSLClient(client_p) ? EXTBAN_MATCH : EXTBAN_NOMATCH;
|
return IsSSLClient(client_p) ? EXTBAN_MATCH : EXTBAN_NOMATCH;
|
||||||
|
|
Loading…
Reference in New Issue