forked from leftypol/leftypol
Display banned post contents if reason does not contain cp
This commit is contained in:
parent
cc62a579bc
commit
9f00630b40
2 changed files with 10 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue