aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r--OpenSim/Framework/EstateSettings.cs11
1 files changed, 5 insertions, 6 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs
index 8212163..1b5ebfa 100644
--- a/OpenSim/Framework/EstateSettings.cs
+++ b/OpenSim/Framework/EstateSettings.cs
@@ -224,7 +224,6 @@ namespace OpenSim.Framework
224 } 224 }
225 225
226 private UUID m_EstateOwner = UUID.Zero; 226 private UUID m_EstateOwner = UUID.Zero;
227
228 public UUID EstateOwner 227 public UUID EstateOwner
229 { 228 {
230 get { return m_EstateOwner; } 229 get { return m_EstateOwner; }
@@ -232,7 +231,6 @@ namespace OpenSim.Framework
232 } 231 }
233 232
234 private bool m_DenyMinors = false; 233 private bool m_DenyMinors = false;
235
236 public bool DenyMinors 234 public bool DenyMinors
237 { 235 {
238 get { return m_DenyMinors; } 236 get { return m_DenyMinors; }
@@ -258,7 +256,6 @@ namespace OpenSim.Framework
258 } 256 }
259 257
260 private List<UUID> l_EstateAccess = new List<UUID>(); 258 private List<UUID> l_EstateAccess = new List<UUID>();
261
262 public UUID[] EstateAccess 259 public UUID[] EstateAccess
263 { 260 {
264 get { return l_EstateAccess.ToArray(); } 261 get { return l_EstateAccess.ToArray(); }
@@ -266,13 +263,15 @@ namespace OpenSim.Framework
266 } 263 }
267 264
268 private List<UUID> l_EstateGroups = new List<UUID>(); 265 private List<UUID> l_EstateGroups = new List<UUID>();
269
270 public UUID[] EstateGroups 266 public UUID[] EstateGroups
271 { 267 {
272 get { return l_EstateGroups.ToArray(); } 268 get { return l_EstateGroups.ToArray(); }
273 set { l_EstateGroups = new List<UUID>(value); } 269 set { l_EstateGroups = new List<UUID>(value); }
274 } 270 }
275 271
272 public bool DoDenyMinors = true;
273 public bool DoDenyAnonymous = true;
274
276 public EstateSettings() 275 public EstateSettings()
277 { 276 {
278 } 277 }
@@ -380,14 +379,14 @@ namespace OpenSim.Framework
380 379
381 if (!HasAccess(avatarID)) 380 if (!HasAccess(avatarID))
382 { 381 {
383 if (DenyMinors) 382 if (DoDenyMinors && DenyMinors)
384 { 383 {
385 if ((userFlags & 32) == 0) 384 if ((userFlags & 32) == 0)
386 { 385 {
387 return true; 386 return true;
388 } 387 }
389 } 388 }
390 if (DenyAnonymous) 389 if (DoDenyAnonymous && DenyAnonymous)
391 { 390 {
392 if ((userFlags & 4) == 0) 391 if ((userFlags & 4) == 0)
393 { 392 {