From e6dbb0b8538e6eebd1592de8070826cf8d41ea11 Mon Sep 17 00:00:00 2001 From: Patrick Davison Date: Tue, 16 Apr 2013 17:26:02 -0700 Subject: Chat fixes --- ajax/chat.ajax.php | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'ajax') diff --git a/ajax/chat.ajax.php b/ajax/chat.ajax.php index 415c517..c909754 100644 --- a/ajax/chat.ajax.php +++ b/ajax/chat.ajax.php @@ -1,5 +1,10 @@ 6) { $_SESSION['chatSendCount'] = 0; $_SESSION['chatLastReset'] = strtotime('now'); @@ -168,6 +173,11 @@ function chatFilter($chat) { $chat = str_ireplace("pedophile", "Optimus Prime", $chat); $chat = str_ireplace("pedo", "Optimus Prime", $chat); $chat = str_ireplace("rape", "shake hands with", $chat); + + //Easter Eggs + $chat = str_ireplace("i just pwned Snap", "Snap just totally pwned me ^^", $chat); + $chat = str_ireplace("i just pwned Blue", "Blue just epicly pwned me the with chat filter", $chat); + $chat = str_ireplace("language filter", "highly educated team of monkeys employed to filter bad language", $chat); return $chat; } ?> \ No newline at end of file -- cgit v1.2.3