Add porn to public banlist theme
This commit is contained in:
parent
05569d150a
commit
8b5688e12a
|
@ -25,7 +25,7 @@
|
||||||
|
|
||||||
public static function gen_json($settings) {
|
public static function gen_json($settings) {
|
||||||
ob_start();
|
ob_start();
|
||||||
Bans::stream_json(false, true, true, array(), array("/\bcp\b/i"));
|
Bans::stream_json(false, true, true, array(), array("/\bcp\b/i", "/porn/i"));
|
||||||
$out = ob_get_contents();
|
$out = ob_get_contents();
|
||||||
ob_end_clean();
|
ob_end_clean();
|
||||||
return $out;
|
return $out;
|
||||||
|
|
Loading…
Reference in New Issue