* First pass at persistence support
* Fixed a chat crashing bug
* Remove avatars from the scene on logout
* Sanity check before adding objects to the scene in ObjectAdd
* Sanity check in CompleteAgentMovementHandler if the avatar is already in the scene
* Added ContainsKey() to DoubleDictionary

git-svn-id: http://libopenmetaverse.googlecode.com/svn/trunk@2245 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2008-09-28 21:28:10 +00:00
parent eb258fbf68
commit a23f41fdca
8 changed files with 218 additions and 36 deletions

View File

@@ -30,7 +30,8 @@ namespace Simian.Extensions
ChatFromViewerPacket viewerChat = (ChatFromViewerPacket)packet;
string message = Utils.BytesToString(viewerChat.ChatData.Message);
if (viewerChat.ChatData.Channel != 0 || message.Substring(0, 1) == "/") return; //not public chat
if (viewerChat.ChatData.Channel != 0 || (message.Length > 0 && message.Substring(0, 1) == "/"))
return; //not public chat
//TODO: add distance constraints to AudibleLevel and Message