summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;