aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Services/GridService
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2011-11-19 00:10:29 +0000
committerJustin Clark-Casey (justincc)2011-11-19 00:10:29 +0000
commit7a180781778a6369799c244ab95f5e6844b3be05 (patch)
treeb747b1ef8fb6085cb1520c061156272385392ba4 /OpenSim/Services/GridService
parentDon't register a region twice on both official registration and maptile regen... (diff)
downloadopensim-SC_OLD-7a180781778a6369799c244ab95f5e6844b3be05.zip
opensim-SC_OLD-7a180781778a6369799c244ab95f5e6844b3be05.tar.gz
opensim-SC_OLD-7a180781778a6369799c244ab95f5e6844b3be05.tar.bz2
opensim-SC_OLD-7a180781778a6369799c244ab95f5e6844b3be05.tar.xz
improve region deregistration log message
Diffstat (limited to 'OpenSim/Services/GridService')
-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)