diff --git a/src/API/ChatAPI.php b/src/API/ChatAPI.php index 38d3db6f2..945c7efb8 100644 --- a/src/API/ChatAPI.php +++ b/src/API/ChatAPI.php @@ -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"; } }