aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService/GridService.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Services/GridService/GridService.cs')
-rw-r--r--OpenSim/Services/GridService/GridService.cs30
1 files changed, 15 insertions, 15 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 79a45fe..ce6f64b 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -426,21 +426,21 @@ namespace OpenSim.Services.GridService
426 return ret; 426 return ret;
427 } 427 }
428 428
429 public List<GridRegion> GetHyperlinks(UUID scopeID) 429 public List<GridRegion> GetHyperlinks(UUID scopeID)
430 { 430 {
431 List<GridRegion> ret = new List<GridRegion>(); 431 List<GridRegion> ret = new List<GridRegion>();
432 432
433 List<RegionData> regions = m_Database.GetHyperlinks(scopeID); 433 List<RegionData> regions = m_Database.GetHyperlinks(scopeID);
434 434
435 foreach (RegionData r in regions) 435 foreach (RegionData r in regions)
436 { 436 {
437 if ((Convert.ToInt32(r.Data["flags"]) & (int)OpenSim.Data.RegionFlags.RegionOnline) != 0) 437 if ((Convert.ToInt32(r.Data["flags"]) & (int)OpenSim.Data.RegionFlags.RegionOnline) != 0)
438 ret.Add(RegionData2RegionInfo(r)); 438 ret.Add(RegionData2RegionInfo(r));
439 } 439 }
440 440
441 m_log.DebugFormat("[GRID SERVICE]: Hyperlinks returned {0} regions", ret.Count); 441 m_log.DebugFormat("[GRID SERVICE]: Hyperlinks returned {0} regions", ret.Count);
442 return ret; 442 return ret;
443 } 443 }
444 444
445 public int GetRegionFlags(UUID scopeID, UUID regionID) 445 public int GetRegionFlags(UUID scopeID, UUID regionID)
446 { 446 {