summaryrefslogtreecommitdiff
path: root/templates/themes
diff options
context:
space:
mode:
authorczaks <marcin@6irc.net>2014-10-09 01:49:29 +0200
committerczaks <marcin@6irc.net>2014-10-09 01:49:29 +0200
commit948695e73cf086bfa59cda0e4cd2822853b77f3b (patch)
tree5ce643e60406571d617cb750244b64650ff645a6 /templates/themes
parent7719ad3e8148af407a72d92f2d157c7d29601689 (diff)
lel, this one will do
Diffstat (limited to 'templates/themes')
-rw-r--r--templates/themes/public_banlist/theme.php4
1 files changed, 1 insertions, 3 deletions
diff --git a/templates/themes/public_banlist/theme.php b/templates/themes/public_banlist/theme.php
index 68037aec..f2b65839 100644
--- a/templates/themes/public_banlist/theme.php
+++ b/templates/themes/public_banlist/theme.php
@@ -24,10 +24,8 @@
}
public static function gen_json($settings) {
- global $config, $mod;
-
ob_start();
- Bans::stream_json(false, false, !hasPermission($config['mod']['view_banstaff']), $mod['boards']);
+ Bans::stream_json(false, true, true, array());
$out = ob_get_contents();
ob_end_clean();
return $out;