aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--OpenSim/Services/GridService/GridService.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 768e4e1..82a9193 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -244,11 +244,14 @@ namespace OpenSim.Services.GridService
244 244
245 public bool DeregisterRegion(UUID regionID) 245 public bool DeregisterRegion(UUID regionID)
246 { 246 {
247 m_log.DebugFormat("[GRID SERVICE]: Region {0} deregistered", regionID);
248 RegionData region = m_Database.Get(regionID, UUID.Zero); 247 RegionData region = m_Database.Get(regionID, UUID.Zero);
249 if (region == null) 248 if (region == null)
250 return false; 249 return false;
251 250
251 m_log.DebugFormat(
252 "[GRID SERVICE]: Degistering region {0} ({1}) at {2}-{3}",
253 region.RegionName, region.RegionID, region.posX, region.posY);
254
252 int flags = Convert.ToInt32(region.Data["flags"]); 255 int flags = Convert.ToInt32(region.Data["flags"]);
253 256
254 if (!m_DeleteOnUnregister || (flags & (int)OpenSim.Data.RegionFlags.Persistent) != 0) 257 if (!m_DeleteOnUnregister || (flags & (int)OpenSim.Data.RegionFlags.Persistent) != 0)