summaryrefslogtreecommitdiff
path: root/inc/config.php
diff options
context:
space:
mode:
authorSavetheinternet <savetheinternet@n0v4.com>2011-02-18 00:36:50 +1100
committerSavetheinternet <savetheinternet@n0v4.com>2011-02-18 00:36:50 +1100
commit4562843538a25dbb5d565943de59188cbfe60471 (patch)
treed2e4e85081c4d2ef602ad173999fa2ddcbc61242 /inc/config.php
parente93efbfc23dd7770cb8916edf0bd26a003fd226b (diff)
Ability to view and undo bans
Diffstat (limited to 'inc/config.php')
-rw-r--r--inc/config.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/inc/config.php b/inc/config.php
index 092b1005..fff3341c 100644
--- a/inc/config.php
+++ b/inc/config.php
@@ -240,6 +240,8 @@
$config['mod']['ban'] = MOD;
// Ban and delete (one click; instant)
$config['mod']['bandelete'] = MOD;
+ // Remove bans
+ $config['mod']['unban'] = MOD;
// Delete file (and keep post)
$config['mod']['deletefile'] = JANITOR;
// Delete all posts by IP
@@ -269,6 +271,8 @@
$config['mod']['view_banquestionmark'] = false;
// Show expired bans in the ban list (they are kept in cache until the culprit returns)
$config['mod']['view_banexpired'] = true;
+ // View ban for IP address
+ $config['mod']['view_ban'] = $config['mod']['view_banlist'];
// Create a new board
$config['mod']['newboard'] = ADMIN;