summaryrefslogtreecommitdiff
path: root/templates/themes
diff options
context:
space:
mode:
authorMichael Walker <mike@barrucadu.co.uk>2016-02-11 15:21:54 +0000
committerMichael Walker <mike@barrucadu.co.uk>2016-02-11 15:21:54 +0000
commit9f00630b408d4ce032637c5488aeedde90f5e693 (patch)
tree74a9deddd85df67a10ad449efe2c18bf093f9165 /templates/themes
parentcc62a579bc59ed3366948a622e81f5f9c6cafdc3 (diff)
Display banned post contents if reason does not contain cp
Diffstat (limited to 'templates/themes')
-rw-r--r--templates/themes/public_banlist/theme.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/public_banlist/theme.php b/templates/themes/public_banlist/theme.php
index 93b78677..c9f7e6f0 100644
--- a/templates/themes/public_banlist/theme.php
+++ b/templates/themes/public_banlist/theme.php
@@ -25,7 +25,7 @@
public static function gen_json($settings) {
ob_start();
- Bans::stream_json(false, true, true, array(), true);
+ Bans::stream_json(false, true, true, array(), array("/\bcp\b/i"));
$out = ob_get_contents();
ob_end_clean();
return $out;