From 3c5983d8bd1f51c274a6d8e9e70499c11b365e09 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 3 Aug 2010 17:29:17 -0700 Subject: Another bug fixed. Same issue. --- OpenSim/Services/HypergridService/UserAgentService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim') diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index 4bee4b5..ffb026b 100644 --- a/OpenSim/Services/HypergridService/UserAgentService.cs +++ b/OpenSim/Services/HypergridService/UserAgentService.cs @@ -179,7 +179,7 @@ namespace OpenSim.Services.HypergridService m_TravelingAgents[agentCircuit.SessionID] = travel; } travel.UserID = agentCircuit.AgentID; - travel.GridExternalName = region.ExternalHostName + ":" + region.HttpPort; + travel.GridExternalName = "http://" + region.ExternalHostName + ":" + region.HttpPort; travel.ServiceToken = agentCircuit.ServiceSessionID; if (old != null) travel.ClientToken = old.ClientToken; @@ -215,6 +215,7 @@ namespace OpenSim.Services.HypergridService return false; TravelingAgentInfo travel = m_TravelingAgents[sessionID]; + return travel.GridExternalName == thisGridExternalName; } -- cgit v1.1