From f5989d461c46467e57012d64bbdf544e4d92b091 Mon Sep 17 00:00:00 2001 From: Michael Yoo Date: Mon, 25 Nov 2013 22:06:25 +1030 Subject: [PATCH] Fix possible variable bug with /tell. --- 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 38d3db6f..945c7efb 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"; } }