From 35a245b67a44eaa62dbf7951646ad9818caa8b02 Mon Sep 17 00:00:00 2001 From: Diva Canto Date: Sun, 31 Jan 2010 22:35:23 -0800 Subject: Assorted bug fixes related to hyperlinking --- OpenSim/Services/HypergridService/GatekeeperService.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'OpenSim/Services/HypergridService/GatekeeperService.cs') diff --git a/OpenSim/Services/HypergridService/GatekeeperService.cs b/OpenSim/Services/HypergridService/GatekeeperService.cs index 3bf0836..763e523 100644 --- a/OpenSim/Services/HypergridService/GatekeeperService.cs +++ b/OpenSim/Services/HypergridService/GatekeeperService.cs @@ -120,7 +120,7 @@ namespace OpenSim.Services.HypergridService reason = string.Empty; m_log.DebugFormat("[GATEKEEPER SERVICE]: Request to link to {0}", regionName); - if (!m_AllowTeleportsToAnyRegion) + if (!m_AllowTeleportsToAnyRegion || regionName == string.Empty) { List defs = m_GridService.GetDefaultRegions(m_ScopeID); if (defs != null && defs.Count > 0) @@ -133,12 +133,7 @@ namespace OpenSim.Services.HypergridService } catch { - reason = "Grid setup problem"; - return false; - } - if (regionName != string.Empty) - { - reason = "Direct links to regions not allowed"; + reason = "Grid setup problem. Try specifying a particular region here."; return false; } -- cgit v1.1