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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user