forked from leftypol/leftypol
Add auto_maintenance configuration option
This commit is contained in:
parent
870d3812d3
commit
bcfc934604
4 changed files with 8 additions and 3 deletions
|
@ -926,7 +926,7 @@ function mod_page_ip($ip) {
|
|||
$args['token'] = make_secure_link_token('ban');
|
||||
|
||||
if (hasPermission($config['mod']['view_ban'])) {
|
||||
$args['bans'] = Bans::find($ip, false, true, true);
|
||||
$args['bans'] = Bans::find($ip, false, true, $config['auto_maintenance']);
|
||||
}
|
||||
|
||||
if (hasPermission($config['mod']['view_notes'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue