From 53ada6a5ff71a04a9970faef7f2623a201a95dc9 Mon Sep 17 00:00:00 2001 From: Juan Tamad Date: Mon, 1 Sep 2014 06:30:33 +0800 Subject: added option for showing the mod in ban page. also fixes issue where the Staff is not shown in ban appeals. --- inc/functions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'inc/functions.php') diff --git a/inc/functions.php b/inc/functions.php index a88e8fc8..2e16c419 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -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()) { -- cgit v1.3