diff options
Diffstat (limited to 'OpenSim/Services/HypergridService/HypergridService.cs')
-rw-r--r-- | OpenSim/Services/HypergridService/HypergridService.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Services/HypergridService/HypergridService.cs b/OpenSim/Services/HypergridService/HypergridService.cs index 747b98a..734931d 100644 --- a/OpenSim/Services/HypergridService/HypergridService.cs +++ b/OpenSim/Services/HypergridService/HypergridService.cs | |||
@@ -347,10 +347,12 @@ namespace OpenSim.Services.HypergridService | |||
347 | 347 | ||
348 | #region Get Hyperlinks | 348 | #region Get Hyperlinks |
349 | 349 | ||
350 | public GridRegion GetHyperlinkRegion(UUID regionID) | 350 | public GridRegion GetHyperlinkRegion(GridRegion gatekeeper, UUID regionID) |
351 | { | 351 | { |
352 | //GridRegion region = m_HypergridConnector. | 352 | if (m_HyperlinkRegions.ContainsKey(regionID)) |
353 | return null; | 353 | return m_HypergridConnector.GetHyperlinkRegion(gatekeeper, regionID); |
354 | else | ||
355 | return gatekeeper; | ||
354 | } | 356 | } |
355 | 357 | ||
356 | #endregion | 358 | #endregion |