allow bot to appear in group logs

This commit is contained in:
Zontreck 2020-04-20 16:37:36 -07:00
parent 004ffd7d5a
commit c390fd0b35
6 changed files with 105 additions and 10 deletions

View file

@ -78,8 +78,15 @@ namespace Bot.CommandSystem
string GroupName = client.Groups.GroupName2KeyCache[fromID];
GroupLog.Instance.WriteLogEntry(GroupName, "secondlife:///app/agent/" + agentKey.ToString() + "/about (" + agentName + ") : " + request);
if (agentKey == client.Self.AgentID) return false;
}
else {
agentKey = fromID;
if (agentKey == client.Self.AgentID) return false;
}
else { agentKey = fromID; }
if (request.Substring(0, 1) != "!")
{