diff options
Diffstat (limited to 'OpenSim/Services/GridService/GridService.cs')
-rw-r--r-- | OpenSim/Services/GridService/GridService.cs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs index 137ce04..76415ce 100644 --- a/OpenSim/Services/GridService/GridService.cs +++ b/OpenSim/Services/GridService/GridService.cs | |||
@@ -284,7 +284,7 @@ namespace OpenSim.Services.GridService | |||
284 | 284 | ||
285 | int flags = Convert.ToInt32(region.Data["flags"]); | 285 | int flags = Convert.ToInt32(region.Data["flags"]); |
286 | 286 | ||
287 | if (!m_DeleteOnUnregister || (flags & (int)OpenSim.Framework.RegionFlags.Persistent) != 0) | 287 | if ((!m_DeleteOnUnregister) || ((flags & (int)OpenSim.Framework.RegionFlags.Persistent) != 0)) |
288 | { | 288 | { |
289 | flags &= ~(int)OpenSim.Framework.RegionFlags.RegionOnline; | 289 | flags &= ~(int)OpenSim.Framework.RegionFlags.RegionOnline; |
290 | region.Data["flags"] = flags.ToString(); | 290 | region.Data["flags"] = flags.ToString(); |
@@ -299,7 +299,6 @@ namespace OpenSim.Services.GridService | |||
299 | } | 299 | } |
300 | 300 | ||
301 | return true; | 301 | return true; |
302 | |||
303 | } | 302 | } |
304 | 303 | ||
305 | return m_Database.Delete(regionID); | 304 | return m_Database.Delete(regionID); |