allow bot to appear in group logs
This commit is contained in:
parent
004ffd7d5a
commit
c390fd0b35
6 changed files with 105 additions and 10 deletions
|
@ -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) != "!")
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue