aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/LLLoginService/LLLoginService.cs
diff options
context:
space:
mode:
authormeta72010-08-08 18:56:47 -0700
committermeta72010-08-08 18:56:47 -0700
commit32ccc19a6238b2b0f4fa81efdc3115dd58578b00 (patch)
tree9a9c6dfef168df20f51bc19713ee94f30c3634cf /OpenSim/Services/LLLoginService/LLLoginService.cs
parentPrint a console message when we deny access because of no valid parcel found. (diff)
downloadopensim-SC_OLD-32ccc19a6238b2b0f4fa81efdc3115dd58578b00.zip
opensim-SC_OLD-32ccc19a6238b2b0f4fa81efdc3115dd58578b00.tar.gz
opensim-SC_OLD-32ccc19a6238b2b0f4fa81efdc3115dd58578b00.tar.bz2
opensim-SC_OLD-32ccc19a6238b2b0f4fa81efdc3115dd58578b00.tar.xz
Make fallbacks work, the destination was never actually updated with the fallback details.
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/LLLoginService/LLLoginService.cs13
1 files changed, 7 insertions, 6 deletions
diff --git a/OpenSim/Services/LLLoginService/LLLoginService.cs b/OpenSim/Services/LLLoginService/LLLoginService.cs
index f9fe7f0..2674eef 100644
--- a/OpenSim/Services/LLLoginService/LLLoginService.cs
+++ b/OpenSim/Services/LLLoginService/LLLoginService.cs
@@ -344,9 +344,10 @@ namespace OpenSim.Services.LLLoginService
344 // 344 //
345 // Instantiate/get the simulation interface and launch an agent at the destination 345 // Instantiate/get the simulation interface and launch an agent at the destination
346 // 346 //
347 string reason = string.Empty; 347 string reason = string.Empty;
348 AgentCircuitData aCircuit = LaunchAgentAtGrid(gatekeeper, destination, account, avatar, session, secureSession, position, where, clientVersion, clientIP, out where, out reason); 348 GridRegion dest;
349 349 AgentCircuitData aCircuit = LaunchAgentAtGrid(gatekeeper, destination, account, avatar, session, secureSession, position, where, clientVersion, clientIP, out where, out reason, out dest);
350 destination = dest;
350 if (aCircuit == null) 351 if (aCircuit == null)
351 { 352 {
352 m_PresenceService.LogoutAgent(session); 353 m_PresenceService.LogoutAgent(session);
@@ -605,7 +606,7 @@ namespace OpenSim.Services.LLLoginService
605 } 606 }
606 607
607 protected AgentCircuitData LaunchAgentAtGrid(GridRegion gatekeeper, GridRegion destination, UserAccount account, AvatarData avatar, 608 protected AgentCircuitData LaunchAgentAtGrid(GridRegion gatekeeper, GridRegion destination, UserAccount account, AvatarData avatar,
608 UUID session, UUID secureSession, Vector3 position, string currentWhere, string viewer, IPEndPoint clientIP, out string where, out string reason) 609 UUID session, UUID secureSession, Vector3 position, string currentWhere, string viewer, IPEndPoint clientIP, out string where, out string reason, out GridRegion dest)
609 { 610 {
610 where = currentWhere; 611 where = currentWhere;
611 ISimulationService simConnector = null; 612 ISimulationService simConnector = null;
@@ -690,8 +691,8 @@ namespace OpenSim.Services.LLLoginService
690 } 691 }
691 } 692 }
692 } 693 }
693 } 694 }
694 695 dest = destination;
695 if (success) 696 if (success)
696 return aCircuit; 697 return aCircuit;
697 else 698 else