aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Framework/EstateSettings.cs
diff options
context:
space:
mode:
authorUbitUmarov2019-03-20 15:09:53 +0000
committerUbitUmarov2019-03-20 15:09:53 +0000
commitd6b3413c6337f8409b78266ac987aac63a5f77e5 (patch)
tree9d256471d0ac54cae409e2f3cf4ac250d7b3979d /OpenSim/Framework/EstateSettings.cs
parentlludp direct encode RegionHandshake (diff)
downloadopensim-SC-d6b3413c6337f8409b78266ac987aac63a5f77e5.zip
opensim-SC-d6b3413c6337f8409b78266ac987aac63a5f77e5.tar.gz
opensim-SC-d6b3413c6337f8409b78266ac987aac63a5f77e5.tar.bz2
opensim-SC-d6b3413c6337f8409b78266ac987aac63a5f77e5.tar.xz
RegionHandshake IS critical llupd protocol not to be done by odd modules
Diffstat (limited to 'OpenSim/Framework/EstateSettings.cs')
-rw-r--r--OpenSim/Framework/EstateSettings.cs8
1 files changed, 4 insertions, 4 deletions
diff --git a/OpenSim/Framework/EstateSettings.cs b/OpenSim/Framework/EstateSettings.cs
index 1b5ebfa..1c0b97a 100644
--- a/OpenSim/Framework/EstateSettings.cs
+++ b/OpenSim/Framework/EstateSettings.cs
@@ -153,7 +153,7 @@ namespace OpenSim.Framework
153 private bool m_DenyAnonymous = false; 153 private bool m_DenyAnonymous = false;
154 public bool DenyAnonymous 154 public bool DenyAnonymous
155 { 155 {
156 get { return m_DenyAnonymous; } 156 get { return (DoDenyAnonymous && m_DenyAnonymous); }
157 set { m_DenyAnonymous = value; } 157 set { m_DenyAnonymous = value; }
158 } 158 }
159 159
@@ -233,7 +233,7 @@ namespace OpenSim.Framework
233 private bool m_DenyMinors = false; 233 private bool m_DenyMinors = false;
234 public bool DenyMinors 234 public bool DenyMinors
235 { 235 {
236 get { return m_DenyMinors; } 236 get { return (DoDenyMinors && m_DenyMinors); }
237 set { m_DenyMinors = value; } 237 set { m_DenyMinors = value; }
238 } 238 }
239 239
@@ -379,14 +379,14 @@ namespace OpenSim.Framework
379 379
380 if (!HasAccess(avatarID)) 380 if (!HasAccess(avatarID))
381 { 381 {
382 if (DoDenyMinors && DenyMinors) 382 if (DenyMinors)
383 { 383 {
384 if ((userFlags & 32) == 0) 384 if ((userFlags & 32) == 0)
385 { 385 {
386 return true; 386 return true;
387 } 387 }
388 } 388 }
389 if (DoDenyAnonymous && DenyAnonymous) 389 if (DenyAnonymous)
390 { 390 {
391 if ((userFlags & 4) == 0) 391 if ((userFlags & 4) == 0)
392 { 392 {