aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/GridService')
-rw-r--r--OpenSim/Services/GridService/GridService.cs3
-rw-r--r--OpenSim/Services/GridService/HypergridLinker.cs3
2 files changed, 4 insertions, 2 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 515d620..4dee7a4 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -329,7 +329,7 @@ namespace OpenSim.Services.GridService
329 } 329 }
330 } 330 }
331 331
332 if (m_AllowHypergridMapSearch && rdatas.Count == 0 && name.Contains(".")) 332 if (m_AllowHypergridMapSearch && rdatas == null || (rdatas != null && rdatas.Count == 0) && name.Contains("."))
333 { 333 {
334 GridRegion r = m_HypergridLinker.LinkRegion(scopeID, name); 334 GridRegion r = m_HypergridLinker.LinkRegion(scopeID, name);
335 if (r != null) 335 if (r != null)
@@ -412,6 +412,7 @@ namespace OpenSim.Services.GridService
412 ret.Add(RegionData2RegionInfo(r)); 412 ret.Add(RegionData2RegionInfo(r));
413 } 413 }
414 414
415 m_log.DebugFormat("[GRID SERVICE]: Fallback returned {0} regions", ret.Count);
415 return ret; 416 return ret;
416 } 417 }
417 418
diff --git a/OpenSim/Services/GridService/HypergridLinker.cs b/OpenSim/Services/GridService/HypergridLinker.cs
index c0b635c..18d0586 100644
--- a/OpenSim/Services/GridService/HypergridLinker.cs
+++ b/OpenSim/Services/GridService/HypergridLinker.cs
@@ -470,7 +470,8 @@ namespace OpenSim.Services.GridService
470 string reason = string.Empty; 470 string reason = string.Empty;
471 if (TryLinkRegionToCoords(UUID.Zero, mapName, xloc, yloc, out reason) == null) 471 if (TryLinkRegionToCoords(UUID.Zero, mapName, xloc, yloc, out reason) == null)
472 MainConsole.Instance.Output("Failed to link region: " + reason); 472 MainConsole.Instance.Output("Failed to link region: " + reason);
473 MainConsole.Instance.Output("Hyperlink established"); 473 else
474 MainConsole.Instance.Output("Hyperlink established");
474 } 475 }
475 else 476 else
476 { 477 {