diff options
Diffstat (limited to 'OpenSim/Framework')
-rw-r--r-- | OpenSim/Framework/EstateSettings.cs | 8 | ||||
-rw-r--r-- | OpenSim/Framework/IClientAPI.cs | 2 |
2 files changed, 5 insertions, 5 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 | { |
diff --git a/OpenSim/Framework/IClientAPI.cs b/OpenSim/Framework/IClientAPI.cs index 63e3782..0c5224b 100644 --- a/OpenSim/Framework/IClientAPI.cs +++ b/OpenSim/Framework/IClientAPI.cs | |||
@@ -1106,7 +1106,7 @@ namespace OpenSim.Framework | |||
1106 | // void SendPartFullUpdate(ISceneEntity ent, uint? parentID); | 1106 | // void SendPartFullUpdate(ISceneEntity ent, uint? parentID); |
1107 | 1107 | ||
1108 | void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs); | 1108 | void SendAnimations(UUID[] animID, int[] seqs, UUID sourceAgentId, UUID[] objectIDs); |
1109 | void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args); | 1109 | void SendRegionHandshake(); |
1110 | 1110 | ||
1111 | /// <summary> | 1111 | /// <summary> |
1112 | /// Send chat to the viewer. | 1112 | /// Send chat to the viewer. |