From 539993751f0fc5039aa2e96759a1d1966a676505 Mon Sep 17 00:00:00 2001 From: Shoghi Cervantes Pueyo Date: Fri, 8 Feb 2013 13:52:37 +0100 Subject: [PATCH] Moved chat message to console --- src/API/ChatAPI.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/API/ChatAPI.php b/src/API/ChatAPI.php index 245e7ac2c..673131f94 100644 --- a/src/API/ChatAPI.php +++ b/src/API/ChatAPI.php @@ -37,6 +37,7 @@ class ChatAPI{ public function broadcast($message){ $this->send(false, $message); + console("[CHAT] ".$message); } public function sendTo($owner, $text, $player){ @@ -53,7 +54,6 @@ class ChatAPI{ } } $message .= $text; - console("[CHAT] ".$message); $this->server->handle("server.chat", new Container($message, $whitelist, $blacklist)); } } \ No newline at end of file