From 5ae1ad995dfe8b8a2bc995b6e3eb4c0eca83ae17 Mon Sep 17 00:00:00 2001 From: Teravus Ovares Date: Sat, 25 Jul 2009 17:29:25 +0000 Subject: * Fix Groups Module Null Reference when you were not a member of any group. --- OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'OpenSim/Region/ClientStack/LindenUDP') diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs index bd3ac19..ee31773 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs @@ -9791,9 +9791,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP Group.GroupName = Utils.StringToBytes(GroupMembership[i].GroupName); Group.GroupPowers = GroupMembership[i].GroupPowers; Groups[i] = Group; - Groupupdate.GroupData = Groups; + } + Groupupdate.GroupData = Groups; Groupupdate.AgentData = new AgentGroupDataUpdatePacket.AgentDataBlock(); Groupupdate.AgentData.AgentID = AgentId; OutPacket(Groupupdate, ThrottleOutPacketType.Task); -- cgit v1.1