summaryrefslogtreecommitdiff
path: root/inc/functions.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/functions.php')
-rw-r--r--inc/functions.php4
1 files changed, 2 insertions, 2 deletions
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()) {