aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ClientStack')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs9
1 files changed, 6 insertions, 3 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 773baf5..552f64c 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -5255,7 +5255,7 @@ namespace OpenSim.Region.ClientStack.LindenUDP
5255 args.Channel = ch; 5255 args.Channel = ch;
5256 args.From = String.Empty; 5256 args.From = String.Empty;
5257 args.Message = Utils.BytesToString(msg); 5257 args.Message = Utils.BytesToString(msg);
5258 args.Type = ChatTypeEnum.Shout; 5258 args.Type = ChatTypeEnum.Region; //Behaviour in SL is that the response can be heard from any distance
5259 args.Position = new Vector3(); 5259 args.Position = new Vector3();
5260 args.Scene = Scene; 5260 args.Scene = Scene;
5261 args.Sender = this; 5261 args.Sender = this;
@@ -11277,9 +11277,12 @@ namespace OpenSim.Region.ClientStack.LindenUDP
11277 11277
11278 m_groupPowers.Clear(); 11278 m_groupPowers.Clear();
11279 11279
11280 for (int i = 0; i < GroupMembership.Length; i++) 11280 if (GroupMembership != null)
11281 { 11281 {
11282 m_groupPowers[GroupMembership[i].GroupID] = GroupMembership[i].GroupPowers; 11282 for (int i = 0; i < GroupMembership.Length; i++)
11283 {
11284 m_groupPowers[GroupMembership[i].GroupID] = GroupMembership[i].GroupPowers;
11285 }
11283 } 11286 }
11284 } 11287 }
11285 } 11288 }