From a34add953404d8b8b77b634eaf0a0cbd47a90289 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Tue, 3 Aug 2010 17:29:17 -0700 Subject: [PATCH] Another bug fixed. Same issue. --- OpenSim/Services/HypergridService/UserAgentService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/OpenSim/Services/HypergridService/UserAgentService.cs b/OpenSim/Services/HypergridService/UserAgentService.cs index 4bee4b5ed5..ffb026b3f8 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; }