]> jfr.im git - irc/unrealircd/unrealircd.git/commitdiff
Load by default: extbans/textban, extbans/timedban, extbans/msgbypass.
authorBram Matthys <redacted>
Sun, 2 Sep 2018 09:17:14 +0000 (11:17 +0200)
committerBram Matthys <redacted>
Sun, 2 Sep 2018 09:17:14 +0000 (11:17 +0200)
https://bugs.unrealircd.org/view.php?id=5117

doc/RELEASE-NOTES
doc/conf/modules.default.conf
doc/conf/modules.optional.conf

index d1160224a256d5c5f2d66de6fce5dfcfd79d31b5..01f84c774e5bae43a2e64ba198772ed8155819ce 100644 (file)
@@ -10,6 +10,35 @@ Enhancements:
   This is especially useful if you only want to disable a few modules
   that are (normally) automatically loaded by conf/modules.default.conf.
   https://www.unrealircd.org/docs/Blacklist-module_directive
+* The following extban modules are not new but are now enabled by default:
+  extbans/textban, extbans/timedban and extbans/msgbypass.
+  In case you don't like them, use blacklist-module as mentioned above.
+  Just as a reminder, they provide the following functionality:
+  * TextBan: +b ~T:block:*badword* to block sentences with 'badword'
+  * Timed bans: ~t:duration:mask
+    These are bans that are automatically removed by the server.
+    The duration is in minutes and the mask can be any ban mask.
+    Some examples:
+    * A 5 minute ban on a host:
+      +b ~t:5:*!*@host
+    * A 5 minute quiet ban on a host (unable to speak):
+      +b ~t:5:~q:*!*@host
+    * An invite exception for 24 hours (1440 minutes):
+      +I ~t:1440:*!*@host
+    * A temporary exempt ban for a services account:
+      +e ~t:1440:~a:Account
+    * Allows someone to speak through +m for the next 24hrs:
+      +e ~t:1440:~m:moderated:*!*@host
+    * And any other crazy ideas you can come up with...
+  * Ban exception ~m:type:mask to allow bypassing of message restrictions.
+    Valid types are: 'external' (bypass +n), moderated (bypass +m/+M),
+    'censor' (bypass +G), 'color' (bypass +S/+c) and 'notice' (bypass +T).
+    Some examples:
+    * Let LAN users bypass +m: +e ~m:moderated:*!*@192.168.*
+    * Let ops in #otherchan bypass +m: +e ~m:moderated:~c:@#otherchan
+    * Make GitHub commit bot bypass +n: +e ~m:external:*!*@ipmask
+    * Allow a services account to use color: +e ~m:color:~a:ColorBot
+  * Timedban support in +f [5t#b2]:10 (set 2 minute ban on text flood).
 
 Major issues fixed:
 * None
index c9f231b775f0db9d2620ff111c60dfba0da0bcbe..36f9f022337cdbcf49d1e231e7981bb34b8f4622 100644 (file)
@@ -188,6 +188,9 @@ loadmodule "extbans/account"; /* +b ~a (ban/exempt if logged in with services ac
 loadmodule "extbans/inchannel"; /* +b ~c (ban/exempt if in channel) */
 loadmodule "extbans/operclass"; /* +b ~O (ban/exempt by operclass) */
 loadmodule "extbans/certfp"; /* +b ~S (ban/exempt by certfp) */
+loadmodule "extbans/textban"; /* +b ~T (censor or block text) */
+loadmodule "extbans/msgbypass"; /* +e ~m (bypass message restrictions) */
+loadmodule "extbans/timedban"; /* +b ~t (timed bans / temporary bans) */
 
 
 /*** CAP modules ***/
index 40514a092b559aaf6dd11154df843d930a397caa..56f664cceb3c3c06666a7fd274b026c354aa7a91 100644 (file)
@@ -31,14 +31,6 @@ set { staff-file "network.staff"; };
 loadmodule "nocodes";
 
 
-/*** Extended Bans ***/
-/* See https://www.unrealircd.org/docs/Extended_bans for information */
-
-loadmodule "extbans/textban"; /* +b ~T (censor or block text) */
-loadmodule "extbans/msgbypass"; /* +e ~m (bypass message restrictions) */
-loadmodule "extbans/timedban"; /* +b ~t (timed bans / temporary bans) */
-
-
 /*** Other ***/
 
 // The hideserver module will hide /MAP and /LINKS to regular users.