diff options
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Framework/Constants.cs | 8 | ||||
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 12 |
2 files changed, 15 insertions, 5 deletions
diff --git a/OpenSim/Framework/Constants.cs b/OpenSim/Framework/Constants.cs index 632431f..5757061 100644 --- a/OpenSim/Framework/Constants.cs +++ b/OpenSim/Framework/Constants.cs | |||
@@ -36,10 +36,10 @@ namespace OpenSim.Framework | |||
36 | 36 | ||
37 | public enum EstateAccessCodex : uint | 37 | public enum EstateAccessCodex : uint |
38 | { | 38 | { |
39 | AccessOptions = 17, | 39 | AccessOptions = 1, |
40 | AllowedGroups = 18, | 40 | AllowedGroups = 2, |
41 | EstateBans = 20, | 41 | EstateBans = 4, |
42 | EstateManagers = 24 | 42 | EstateManagers = 8 |
43 | } | 43 | } |
44 | 44 | ||
45 | [Flags]public enum TeleportFlags : uint | 45 | [Flags]public enum TeleportFlags : uint |
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 6a0da7b..68f7446 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -3918,7 +3918,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3918 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3918 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3919 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3919 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3920 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3920 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3921 | returnblock[j].Parameter = Utils.StringToBytes(Data.Length.ToString()); j++; | 3921 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3922 | |||
3923 | j = 2; // Agents | ||
3924 | if ((code & 2) != 0) | ||
3925 | j = 3; // Groups | ||
3926 | if ((code & 8) != 0) | ||
3927 | j = 5; // Managers | ||
3928 | |||
3929 | returnblock[j].Parameter = Utils.StringToBytes(Data.Length.ToString()); | ||
3930 | j = 6; | ||
3931 | |||
3922 | for (int i = 0; i < Data.Length; i++) | 3932 | for (int i = 0; i < Data.Length; i++) |
3923 | { | 3933 | { |
3924 | returnblock[j].Parameter = Data[i].GetBytes(); j++; | 3934 | returnblock[j].Parameter = Data[i].GetBytes(); j++; |