diff options
| author | Fredrick Brennan <admin@8chan.co> | 2014-09-01 10:33:47 -0400 |
|---|---|---|
| committer | Fredrick Brennan <admin@8chan.co> | 2014-09-01 10:33:47 -0400 |
| commit | 39cecea5795fd827432593c81e54f2bf181d02ce (patch) | |
| tree | 03e7a8e79fef845f4ad0d24d1861c01bdbfe0e52 /inc/functions.php | |
| parent | f7b6693c027ae42f791cdadd6625e48a58c732db (diff) | |
| parent | 53ada6a5ff71a04a9970faef7f2623a201a95dc9 (diff) | |
Merge pull request #77 from juanchan/smallfixes
optionally show mod name in templates/banned.html
Diffstat (limited to 'inc/functions.php')
| -rw-r--r-- | inc/functions.php | 4 |
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()) { |
