From bdbc408279f6cff1207d1b8094d2d9bbae56e98f Mon Sep 17 00:00:00 2001 From: medxo Date: Thu, 22 Jan 2015 11:20:46 +0000 Subject: [PATCH] Update RemoteControl.cs --- MinecraftClient/ChatBots/RemoteControl.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MinecraftClient/ChatBots/RemoteControl.cs b/MinecraftClient/ChatBots/RemoteControl.cs index 9f12742c..92d8d308 100644 --- a/MinecraftClient/ChatBots/RemoteControl.cs +++ b/MinecraftClient/ChatBots/RemoteControl.cs @@ -15,7 +15,7 @@ namespace MinecraftClient.ChatBots { text = getVerbatim(text); string command = "", sender = ""; - if (isPrivateMessage(text, ref command, ref sender) && Settings.Bots_Owners.Contains(sender.ToLower())) + if (isPrivateMessage(text, ref command, ref sender) && Settings.Bots_Owners.Contains(sender.ToLower().Replace(" ",""))) { string response = ""; performInternalCommand(command, ref response); @@ -26,7 +26,7 @@ namespace MinecraftClient.ChatBots } else if (Settings.RemoteCtrl_AutoTpaccept && isTeleportRequest(text, ref sender) - && (Settings.RemoteCtrl_AutoTpaccept_Everyone || Settings.Bots_Owners.Contains(sender.ToLower()))) + && (Settings.RemoteCtrl_AutoTpaccept_Everyone || Settings.Bots_Owners.Contains(sender.ToLower().Replace(" ","")))) { SendText("/tpaccept"); }