Allow restricting AutoRespond matches to bot owner

Suggestion by AppleCidar in #184
This commit is contained in:
ORelio 2016-08-21 19:50:56 +02:00
parent 881e080fd6
commit a4cc36ce05
4 changed files with 61 additions and 24 deletions

View file

@ -196,7 +196,8 @@ namespace MinecraftClient
case "botowners":
Bots_Owners.Clear();
foreach (string name in argValue.ToLower().Split(','))
Bots_Owners.Add(name.Trim());
if (!String.IsNullOrWhiteSpace(name))
Bots_Owners.Add(name.Trim());
break;
case "internalcmdchar":