From 8b5688e12a3687f86c8c40d36a1327445cfb8143 Mon Sep 17 00:00:00 2001 From: Benjamin Southall Date: Fri, 23 Sep 2016 22:33:20 +0900 Subject: [PATCH] Add porn to public banlist theme --- templates/themes/public_banlist/theme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/themes/public_banlist/theme.php b/templates/themes/public_banlist/theme.php index c9f7e6f0..62a794dd 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(), array("/\bcp\b/i")); + Bans::stream_json(false, true, true, array(), array("/\bcp\b/i", "/porn/i")); $out = ob_get_contents(); ob_end_clean(); return $out;