aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/Environment/Scenes/Scene.cs11
1 files changed, 10 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/Scene.cs b/OpenSim/Region/Environment/Scenes/Scene.cs
index 03e7a41..64f51d8 100644
--- a/OpenSim/Region/Environment/Scenes/Scene.cs
+++ b/OpenSim/Region/Environment/Scenes/Scene.cs
@@ -711,7 +711,16 @@ namespace OpenSim.Region.Environment.Scenes
711 //Console.WriteLine("new user, so creating caps handler for it"); 711 //Console.WriteLine("new user, so creating caps handler for it");
712 Caps cap = new Caps(this.assetCache, httpListener, this.m_regInfo.ExternalHostName, this.m_regInfo.ExternalEndPoint.Port, agent.CapsPath, agent.AgentID); 712 Caps cap = new Caps(this.assetCache, httpListener, this.m_regInfo.ExternalHostName, this.m_regInfo.ExternalEndPoint.Port, agent.CapsPath, agent.AgentID);
713 cap.RegisterHandlers(); 713 cap.RegisterHandlers();
714 this.capsHandlers.Add(agent.AgentID, cap); 714 if (capsHandlers.ContainsKey(agent.AgentID))
715 {
716 OpenSim.Framework.Console.MainLog.Instance.Warn("Adding duplicate CAPS entry for user " + agent.AgentID.ToStringHyphenated());
717 this.capsHandlers[agent.AgentID] = cap;
718 }
719 else
720 {
721 this.capsHandlers.Add(agent.AgentID, cap);
722 }
723
715 } 724 }
716 this.authenticateHandler.AddNewCircuit(agent.circuitcode, agent); 725 this.authenticateHandler.AddNewCircuit(agent.circuitcode, agent);
717 } 726 }