diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index bdf3d1d..ad41e88 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2593,8 +2593,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2593 | { | 2593 | { |
2594 | string homeURL = string.Empty; | 2594 | string homeURL = string.Empty; |
2595 | string first = aCircuit.firstname, last = aCircuit.lastname; | 2595 | string first = aCircuit.firstname, last = aCircuit.lastname; |
2596 | |||
2596 | if (aCircuit.ServiceURLs.ContainsKey("HomeURI")) | 2597 | if (aCircuit.ServiceURLs.ContainsKey("HomeURI")) |
2597 | homeURL = aCircuit.ServiceURLs["HomeURI"].ToString(); | 2598 | homeURL = aCircuit.ServiceURLs["HomeURI"].ToString(); |
2599 | |||
2598 | if (aCircuit.lastname.StartsWith("@")) | 2600 | if (aCircuit.lastname.StartsWith("@")) |
2599 | { | 2601 | { |
2600 | string[] parts = aCircuit.firstname.Split('.'); | 2602 | string[] parts = aCircuit.firstname.Split('.'); |
@@ -2604,6 +2606,7 @@ namespace OpenSim.Region.Framework.Scenes | |||
2604 | last = parts[1]; | 2606 | last = parts[1]; |
2605 | } | 2607 | } |
2606 | } | 2608 | } |
2609 | |||
2607 | uMan.AddUser(aCircuit.AgentID, first, last, homeURL); | 2610 | uMan.AddUser(aCircuit.AgentID, first, last, homeURL); |
2608 | } | 2611 | } |
2609 | } | 2612 | } |
@@ -3389,7 +3392,6 @@ namespace OpenSim.Region.Framework.Scenes | |||
3389 | } | 3392 | } |
3390 | } | 3393 | } |
3391 | 3394 | ||
3392 | |||
3393 | // In all cases, add or update the circuit data with the new agent circuit data and teleport flags | 3395 | // In all cases, add or update the circuit data with the new agent circuit data and teleport flags |
3394 | agent.teleportFlags = teleportFlags; | 3396 | agent.teleportFlags = teleportFlags; |
3395 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); | 3397 | m_authenticateHandler.AddNewCircuit(agent.circuitcode, agent); |