forked from leftypol/leftypol
added option for showing the mod in ban page.
also fixes issue where the Staff is not shown in ban appeals.
This commit is contained in:
parent
f7b6693c02
commit
53ada6a5ff
4 changed files with 15 additions and 3 deletions
|
@ -777,8 +777,8 @@ function checkBan($board = false) {
|
|||
|
||||
if (event('check-ban', $board))
|
||||
return true;
|
||||
|
||||
$bans = Bans::find($_SERVER['REMOTE_ADDR'], $board);
|
||||
|
||||
$bans = Bans::find($_SERVER['REMOTE_ADDR'], $board, $config['show_modname']);
|
||||
|
||||
foreach ($bans as &$ban) {
|
||||
if ($ban['expires'] && $ban['expires'] < time()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue