Fixed previous commit and added LogoutRequest handler to Simian to remove an agent from the dictionary upon logout.

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2104 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
2008-08-18 07:17:45 +00:00
parent c4cf4a8990
commit 19e26a01d7
2 changed files with 20 additions and 2 deletions

View File

@@ -36,8 +36,8 @@ namespace Simian.Extensions
ChatFromSimulatorPacket chat = new ChatFromSimulatorPacket();
chat.ChatData.Audible = (byte)ChatAudibleLevel.Fully;
chat.ChatData.ChatType = viewerChat.ChatData.Type;
chat.ChatData.OwnerID = agent.ID;
chat.ChatData.SourceID = agent.ID;
chat.ChatData.OwnerID = agent.AgentID;
chat.ChatData.SourceID = agent.AgentID;
chat.ChatData.SourceType = (byte)ChatSourceType.Agent;
chat.ChatData.Position = agent.Avatar.Position;
chat.ChatData.FromName = Utils.StringToBytes(agent.Avatar.Name);