summaryrefslogtreecommitdiffstats
path: root/ajax
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2013-03-07 21:42:40 -0800
committerPatrick Davison <snapwilliam@gmail.com>2013-03-07 21:42:40 -0800
commitd38022db1a3ad57526d44e47ee4b40215f5e7c7b (patch)
tree9f01d4d0f05c44efa7a418d478c318ef61423118 /ajax
parentaf0ee456d75304494e3eecfb8a9bd2b232e44fe6 (diff)
parent827c767fc3025877ad0d1d23e0f15bc35d24b14a (diff)
downloadpathery-d38022db1a3ad57526d44e47ee4b40215f5e7c7b.tar.xz
Merge branch 'HEAD' of ssh://git@git.raylu.net/pathery
Diffstat (limited to 'ajax')
-rw-r--r--ajax/chat.ajax.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/ajax/chat.ajax.php b/ajax/chat.ajax.php
index 95bcacd..7f5684c 100644
--- a/ajax/chat.ajax.php
+++ b/ajax/chat.ajax.php
@@ -123,7 +123,6 @@ if ($_REQUEST['getChatFromID']) {
}
exit;
-
function prepareChatData($data) {
if ($data) {
foreach($data as &$user) {
@@ -135,7 +134,6 @@ function prepareChatData($data) {
return $data;
}
-
function chatFilter($chat) {
//cuss words
$chat = str_ireplace("fuck you", "i am moron", $chat);
@@ -172,8 +170,4 @@ function chatFilter($chat) {
$chat = str_ireplace("rape", "shake hands with", $chat);
return $chat;
}
-
-
-
-
?> \ No newline at end of file