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.cs3
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Services/GridService/GridService.cs b/OpenSim/Services/GridService/GridService.cs
index 66bbff0..c48b10c 100644
--- a/OpenSim/Services/GridService/GridService.cs
+++ b/OpenSim/Services/GridService/GridService.cs
@@ -119,6 +119,9 @@ namespace OpenSim.Services.GridService
119 119
120 if (region != null) 120 if (region != null)
121 { 121 {
122 if ((Convert.ToInt32(region.Data["flags"]) & (int)OpenSim.Data.RegionFlags.LockedOut) != 0)
123 return false;
124
122 rdata.Data["flags"] = region.Data["flags"]; // Preserve fields 125 rdata.Data["flags"] = region.Data["flags"]; // Preserve fields
123 } 126 }
124 else 127 else