summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorundido <firekid109@hotmail.com>2013-04-16 19:14:51 -0300
committerundido <firekid109@hotmail.com>2013-04-16 19:14:51 -0300
commit83401b3a68b4031b4e3c33230acf0d99df7e45fe (patch)
treed0285da8677d49b9cae445a6d8aa43c0d35919e9
parentb4ff535128e6c169d2b4966e6227faa511780621 (diff)
update config.php config for unban limit
Adding config and error for unban list when a user tries to unban more users than they are allowed too.
-rw-r--r--inc/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 8eed50fa..900d540a 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -686,6 +686,7 @@
$config['error']['captcha'] = _('You seem to have mistyped the verification.');
// Moderator errors
+ $config['error']['toomanyunban'] = _('You are only allowed to unban %s users at a time. You tried to unban %u users.');
$config['error']['invalid'] = _('Invalid username and/or password.');
$config['error']['notamod'] = _('You are not a mod…');
$config['error']['invalidafter'] = _('Invalid username and/or password. Your user may have been deleted or changed.');
@@ -768,6 +769,9 @@
* Mod settings
* ====================
*/
+
+ // Limit how many bans can be removed via the ban list. (Set too -1 to remove limit.)
+ $config['mod']['unban_limit'] = 5;
// Whether or not to lock moderator sessions to the IP address that was logged in with.
$config['mod']['lock_ip'] = true;