Improved Chat API

This commit is contained in:
Shoghi Cervantes Pueyo
2013-01-12 12:25:27 +01:00
parent b398b9daa2
commit 02950474af
6 changed files with 104 additions and 23 deletions

View File

@@ -147,7 +147,7 @@ class ConsoleAPI{
console("[INFO] Usage: /say <message>");
break;
}
$this->server->chat(false, $s);
$this->server->api->chat->broadcast($s);
break;
case "whitelist":
$p = strtolower(array_shift($params));