diff options
author | Melanie | 2010-01-09 15:28:52 +0000 |
---|---|---|
committer | Melanie | 2010-01-09 15:28:52 +0000 |
commit | 332463ca94c24bf6706cd40d4c2fa89b1cd13199 (patch) | |
tree | 4bcc06e1c16a7330ba4a552986f7e6f7698a8e8f /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Add functionality to estate "Allowed Users" and "Allowed Groups". Allowed users (diff) | |
download | opensim-SC-332463ca94c24bf6706cd40d4c2fa89b1cd13199.zip opensim-SC-332463ca94c24bf6706cd40d4c2fa89b1cd13199.tar.gz opensim-SC-332463ca94c24bf6706cd40d4c2fa89b1cd13199.tar.bz2 opensim-SC-332463ca94c24bf6706cd40d4c2fa89b1cd13199.tar.xz |
Fix up the weird Lindenish "setaccess" message. Talk about strange....
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index 3d3c324..515d0ea 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |||
@@ -3935,7 +3935,17 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3935 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3935 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3936 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3936 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3937 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; | 3937 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3938 | returnblock[j].Parameter = Utils.StringToBytes(Data.Length.ToString()); j++; | 3938 | returnblock[j].Parameter = Utils.StringToBytes("0"); j++; |
3939 | |||
3940 | j = 2; // Agents | ||
3941 | if ((code & 2) != 0) | ||
3942 | j = 3; // Groups | ||
3943 | if ((code & 8) != 0) | ||
3944 | j = 5; // Managers | ||
3945 | |||
3946 | returnblock[j].Parameter = Utils.StringToBytes(Data.Length.ToString()); | ||
3947 | j = 6; | ||
3948 | |||
3939 | for (int i = 0; i < Data.Length; i++) | 3949 | for (int i = 0; i < Data.Length; i++) |
3940 | { | 3950 | { |
3941 | returnblock[j].Parameter = Data[i].GetBytes(); j++; | 3951 | returnblock[j].Parameter = Data[i].GetBytes(); j++; |