summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorMichael Foster <savetheinternet@tinyboard.org>2013-09-17 09:15:24 +1000
committerMichael Foster <savetheinternet@tinyboard.org>2013-09-17 09:15:24 +1000
commit3e57bb04d7b8fc62761c0fa50b4d062701b1a82a (patch)
tree29a3a4d5bf56e04091ede96c5d678b386b6a4502 /inc/config.php
parent3714f3707363584a3d97398aef25b9c7240d2b2e (diff)
Begin upgrade to much better bans table. DO NOT PULL YET; It won't work.
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php12
1 files changed, 2 insertions, 10 deletions
diff --git a/inc/config.php b/inc/config.php
index e6856341..d7bb8ecc 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -1052,8 +1052,8 @@
* ====================
*/
- // Limit how many bans can be removed via the ban list. Set to -1 for no limit.
- $config['mod']['unban_limit'] = -1;
+ // Limit how many bans can be removed via the ban list. Set to false (or zero) for no limit.
+ $config['mod']['unban_limit'] = false;
// Whether or not to lock moderator sessions to IP addresses. This makes cookie theft ineffective.
$config['mod']['lock_ip'] = true;
@@ -1098,14 +1098,6 @@
// 'color:red;font-weight:bold' // Change tripcode style; optional
//);
- // Enable IP range bans (eg. "127.*.0.1", "127.0.0.*", and "12*.0.0.1" all match "127.0.0.1"). Puts a
- // little more load on the database
- $config['ban_range'] = true;
-
- // Enable CDIR netmask bans (eg. "10.0.0.0/8" for 10.0.0.0.0 - 10.255.255.255). Useful for stopping
- // persistent spammers and ban evaders. Again, a little more database load.
- $config['ban_cidr'] = true;
-
// How often (minimum) to purge the ban list of expired bans (which have been seen). Only works when
// $config['cache'] is enabled and working.
$config['purge_bans'] = 60 * 60 * 12; // 12 hours