Fix possible variable bug with /tell.

This commit is contained in:
Michael Yoo 2013-11-25 22:06:25 +10:30
parent 68076fedc8
commit f5989d461c

View File

@ -81,7 +81,7 @@ class ChatAPI{
$target = $target->username;
}else{
$target = strtolower($n);
if($t === "server" or $t === "console" or $t === "rcon"){
if($target === "server" or $target === "console" or $target === "rcon"){
$target = "Console";
}
}