From 745fc67e62b3d962babdc7aa24996c7749e0daa6 Mon Sep 17 00:00:00 2001 From: Austin Date: Sat, 30 Oct 2021 00:02:46 -0400 Subject: [PATCH] updated filter --- html_api/moderation/v2/filtertext.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/html_api/moderation/v2/filtertext.php b/html_api/moderation/v2/filtertext.php index c8440b8..f6ede32 100644 --- a/html_api/moderation/v2/filtertext.php +++ b/html_api/moderation/v2/filtertext.php @@ -12,15 +12,15 @@ if (!$text || !$userid) } if (isFiltered($text)) { - //logChatMessage($userid, $text, true); + logChatMessage($userid, $text, true); if (chatFilterInfractionLimit($userid, 3, 120)) //3 infraction within 2 minutes { - //die(kickUserIfInGame($userid, "'".$text."' is not appropriate on Alphaland, continued infractions will lead to a ban.")); + die(kickUserIfInGame($userid, "'".$text."' is not appropriate on Alphaland, continued infractions will lead to a ban.")); } - //$text = filterText($text); - $text = "[ Content Deleted ]"; + $text = filterText($text); + //$text = "[ Content Deleted ]"; } $return = json_encode(array(