aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Framework/EstateSettings.cs8
-rw-r--r--OpenSim/Framework/IClientAPI.cs2
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs3
-rwxr-xr-xOpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs8
-rw-r--r--OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs2
-rw-r--r--OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs6
-rw-r--r--OpenSim/Tests/Common/Mock/TestClient.cs2
7 files changed, 15 insertions, 16 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.
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
index aae4b87..50bb9ba 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
@@ -890,7 +890,8 @@ namespace OpenSim.Region.ClientStack.LindenUDP
890 0xff, 0xff, 0, 1, 148 // ID 148 (low frequency bigendian) zero encoded 890 0xff, 0xff, 0, 1, 148 // ID 148 (low frequency bigendian) zero encoded
891 }; 891 };
892 892
893 public void SendRegionHandshake(RegionInfo _regionInfo, RegionHandshakeArgs args) 893
894 public void SendRegionHandshake()
894 { 895 {
895 RegionInfo regionInfo = m_scene.RegionInfo; 896 RegionInfo regionInfo = m_scene.RegionInfo;
896 RegionSettings regionSettings = regionInfo.RegionSettings; 897 RegionSettings regionSettings = regionInfo.RegionSettings;
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 2f73454..c899428 100755
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -1725,11 +1725,13 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1725 // circuit code to the existing child agent. This is not particularly obvious. 1725 // circuit code to the existing child agent. This is not particularly obvious.
1726 SendAckImmediate(endPoint, uccp.Header.Sequence); 1726 SendAckImmediate(endPoint, uccp.Header.Sequence);
1727 1727
1728 client.CheckViewerCaps();
1729
1730 // We only want to send initial data to new clients, not ones which are being converted from child to root.
1731 if (client != null) 1728 if (client != null)
1732 { 1729 {
1730 client.SendRegionHandshake();
1731
1732 client.CheckViewerCaps();
1733
1734 // We only want to send initial data to new clients, not ones which are being converted from child to root.
1733 bool tp = (aCircuit.teleportFlags > 0); 1735 bool tp = (aCircuit.teleportFlags > 0);
1734 // Let's delay this for TP agents, otherwise the viewer doesn't know where to get resources from 1736 // Let's delay this for TP agents, otherwise the viewer doesn't know where to get resources from
1735 if (!tp) 1737 if (!tp)
diff --git a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
index fb195e7..59ce05a 100644
--- a/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
+++ b/OpenSim/Region/OptionalModules/Agent/InternetRelayClientView/Server/IRCClientView.cs
@@ -932,7 +932,7 @@ namespace OpenSim.Region.OptionalModules.Agent.InternetRelayClientView.Server
932 OnSetAppearance(this, appearance.Texture, (byte[])appearance.VisualParams.Clone(),appearance.AvatarSize, new WearableCacheItem[0]); 932 OnSetAppearance(this, appearance.Texture, (byte[])appearance.VisualParams.Clone(),appearance.AvatarSize, new WearableCacheItem[0]);
933 } 933 }
934 934
935 public void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args) 935 public void SendRegionHandshake()
936 { 936 {
937 m_log.Info("[IRCd ClientStack] Completing Handshake to Region"); 937 m_log.Info("[IRCd ClientStack] Completing Handshake to Region");
938 938
diff --git a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
index 9c13061..09f2a58 100644
--- a/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
+++ b/OpenSim/Region/OptionalModules/World/NPC/NPCAvatar.cs
@@ -668,10 +668,6 @@ namespace OpenSim.Region.OptionalModules.World.NPC
668 { 668 {
669 } 669 }
670 670
671 public virtual void SendStartPingCheck(byte seq)
672 {
673 }
674
675 public virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List<AvatarPickerReplyDataArgs> Data) 671 public virtual void SendAvatarPickerReply(AvatarPickerReplyAgentDataArgs AgentData, List<AvatarPickerReplyDataArgs> Data)
676 { 672 {
677 } 673 }
@@ -928,7 +924,7 @@ namespace OpenSim.Region.OptionalModules.World.NPC
928 { 924 {
929 } 925 }
930 926
931 public virtual void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args) 927 public virtual void SendRegionHandshake()
932 { 928 {
933 if (OnRegionHandShakeReply != null) 929 if (OnRegionHandShakeReply != null)
934 { 930 {
diff --git a/OpenSim/Tests/Common/Mock/TestClient.cs b/OpenSim/Tests/Common/Mock/TestClient.cs
index 022ebdf..bc6cb60 100644
--- a/OpenSim/Tests/Common/Mock/TestClient.cs
+++ b/OpenSim/Tests/Common/Mock/TestClient.cs
@@ -876,7 +876,7 @@ namespace OpenSim.Tests.Common
876 { 876 {
877 } 877 }
878 878
879 public virtual void SendRegionHandshake(RegionInfo regionInfo, RegionHandshakeArgs args) 879 public virtual void SendRegionHandshake()
880 { 880 {
881 if (OnRegionHandShakeReply != null) 881 if (OnRegionHandShakeReply != null)
882 { 882 {