Fix AutoRespond not handling "other" message type

Bug report by ibspa
This commit is contained in:
ORelio 2015-10-13 00:31:24 +02:00
parent 8f6b59eaa0
commit b3c9a20f16

View file

@ -203,6 +203,7 @@ namespace MinecraftClient.ChatBots
msgType = MessageType.Public;
else if (IsPrivateMessage(text, ref message, ref sender))
msgType = MessageType.Private;
else message = text;
//Do not process messages sent by the bot itself
if (msgType == MessageType.Other || sender != Settings.Username)