aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Avatar
diff options
context:
space:
mode:
authorOren Hurvitz2014-04-06 19:38:19 +0300
committerOren Hurvitz2014-04-07 07:26:44 +0100
commit55cc8044cbb5f723831ddc5070407be8d0cc1255 (patch)
treeecde4c2d298beea72b0346ce764ef2854780201d /OpenSim/Region/CoreModules/Avatar
parentFixed: during a teleport we always sent the error "The teleport destination c... (diff)
downloadopensim-SC_OLD-55cc8044cbb5f723831ddc5070407be8d0cc1255.zip
opensim-SC_OLD-55cc8044cbb5f723831ddc5070407be8d0cc1255.tar.gz
opensim-SC_OLD-55cc8044cbb5f723831ddc5070407be8d0cc1255.tar.bz2
opensim-SC_OLD-55cc8044cbb5f723831ddc5070407be8d0cc1255.tar.xz
Refactored: use Scene.GetAgentHomeURI() to get the Home URI of a user
Diffstat (limited to 'OpenSim/Region/CoreModules/Avatar')
-rw-r--r--OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs6
1 files changed, 1 insertions, 5 deletions
diff --git a/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs b/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs
index 68fef29..24286a4 100644
--- a/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs
+++ b/OpenSim/Region/CoreModules/Avatar/Lure/HGLureModule.cs
@@ -239,11 +239,7 @@ namespace OpenSim.Region.CoreModules.Avatar.Lure
239 GatekeeperServiceConnector gConn = new GatekeeperServiceConnector(); 239 GatekeeperServiceConnector gConn = new GatekeeperServiceConnector();
240 GridRegion gatekeeper = new GridRegion(); 240 GridRegion gatekeeper = new GridRegion();
241 gatekeeper.ServerURI = url; 241 gatekeeper.ServerURI = url;
242 242 string homeURI = scene.GetAgentHomeURI(client.AgentId);
243 string homeURI = null;
244 AgentCircuitData acd = scene.AuthenticateHandler.GetAgentCircuitData(client.AgentId);
245 if (acd != null && acd.ServiceURLs != null && acd.ServiceURLs.ContainsKey("HomeURI"))
246 homeURI = (string)acd.ServiceURLs["HomeURI"];
247 243
248 string message; 244 string message;
249 GridRegion finalDestination = gConn.GetHyperlinkRegion(gatekeeper, new UUID(im.RegionID), client.AgentId, homeURI, out message); 245 GridRegion finalDestination = gConn.GetHyperlinkRegion(gatekeeper, new UUID(im.RegionID), client.AgentId, homeURI, out message);