Switched HttpServer.dll to the "lite" branch in the official C# WebServer repository. The fork maintained by libopenmetaverse will be removed soon

git-svn-id: http://libopenmetaverse.googlecode.com/svn/libopenmetaverse/trunk@2432 52acb1d6-8a22-11de-b505-999d5b087335
This commit is contained in:
John Hurliman
2009-02-09 07:26:50 +00:00
parent 5a731af4e0
commit 71f3ff77ca
6 changed files with 28 additions and 16 deletions

View File

@@ -455,7 +455,15 @@ namespace Simian
Agent agent;
if (CompleteAgentConnection(useCircuitCode.CircuitCode.Code, out agent))
{
// FIXME: Sanity check that the agent isn't already logged in here
// Sanity check that the agent isn't already logged in
if (clients.ContainsKey(agent.Avatar.ID))
{
Logger.Log("Client UDP reference already exists for " + agent.Avatar.ID.ToString() + ", removing",
Helpers.LogLevel.Warning);
server.Scene.ObjectRemove(this, agent.Avatar.ID);
clients.Remove(agent.Avatar.ID);
}
AddClient(agent, address);
if (clients.TryGetValue(agent.Avatar.ID, out client))
{