From 304d72565dc30525c4ec4b184ba181cef07d09b3 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 7 Sep 2019 01:25:32 +0100 Subject: fix a HG to local grid tp extra check --- OpenSim/Services/GridService/HypergridLinker.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'OpenSim/Services/GridService/HypergridLinker.cs') diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs index c428d95..74d5abd 100644 --- a/OpenSim/Services/GridService/HypergridLinker.cs +++ b/OpenSim/Services/GridService/HypergridLinker.cs @@ -274,7 +274,7 @@ namespace OpenSim.Services.GridService regInfo.EstateOwner = ownerID; // Make sure we're not hyperlinking to regions on this grid! - if (String.IsNullOrWhiteSpace(m_ThisGateKeeperIP)) + if (!String.IsNullOrWhiteSpace(m_ThisGateKeeperIP)) { if (m_ThisGatekeeperHost.Equals(regInfo.ExternalHostName, StringComparison.InvariantCultureIgnoreCase) || m_ThisGateKeeperIP.Equals(regInfo.ExternalHostName)) { @@ -283,8 +283,6 @@ namespace OpenSim.Services.GridService return false; } } - else - m_log.WarnFormat("[HYPERGRID LINKER]: Please set this grid's Gatekeeper's address in [GridService]!"); // Check for free coordinates GridRegion region = m_GridService.GetRegionByPosition(regInfo.ScopeID, regInfo.RegionLocX, regInfo.RegionLocY); -- cgit v1.1