fix small issues

This commit is contained in:
Zontreck 2020-03-10 15:18:29 -07:00
parent ff9bfc819f
commit efab25a36e
3 changed files with 32 additions and 18 deletions

View file

@ -61,6 +61,7 @@ namespace Bot.CommandSystem
if (parameters.type == "chat") sourceLoc = MessageHandler.Destinations.DEST_LOCAL;
else if (parameters.type == "group") sourceLoc = MessageHandler.Destinations.DEST_GROUP;
else if (parameters.type == "im") sourceLoc = MessageHandler.Destinations.DEST_AGENT;
else if (parameters.type == "console") sourceLoc = MessageHandler.Destinations.DEST_CONSOLE_INFO;
else sourceLoc = MessageHandler.Destinations.DEST_LOCAL;
string agentName = parameters.fromName;