Ability to view and undo bans
This commit is contained in:
@@ -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;
|
||||
|
||||
|
@@ -650,7 +650,7 @@
|
||||
} else {
|
||||
// Use a pre-defined confusing name
|
||||
$name = $config['spam']['hidden_input_names'][$hidden_input_names_x++];
|
||||
if($hidden_input_names_x > count($config['spam']['hidden_input_names']))
|
||||
if($hidden_input_names_x >= count($config['spam']['hidden_input_names']))
|
||||
$hidden_input_names_x = -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user