* Fix Groups Module Null Reference when you were not a member of any group.

trunk
Teravus Ovares 2009-07-25 17:29:25 +00:00
parent 7317bd7675
commit 5ae1ad995d
1 changed files with 2 additions and 1 deletions

View File

@ -9791,9 +9791,10 @@ namespace OpenSim.Region.ClientStack.LindenUDP
Group.GroupName = Utils.StringToBytes(GroupMembership[i].GroupName); Group.GroupName = Utils.StringToBytes(GroupMembership[i].GroupName);
Group.GroupPowers = GroupMembership[i].GroupPowers; Group.GroupPowers = GroupMembership[i].GroupPowers;
Groups[i] = Group; Groups[i] = Group;
Groupupdate.GroupData = Groups;
} }
Groupupdate.GroupData = Groups;
Groupupdate.AgentData = new AgentGroupDataUpdatePacket.AgentDataBlock(); Groupupdate.AgentData = new AgentGroupDataUpdatePacket.AgentDataBlock();
Groupupdate.AgentData.AgentID = AgentId; Groupupdate.AgentData.AgentID = AgentId;
OutPacket(Groupupdate, ThrottleOutPacketType.Task); OutPacket(Groupupdate, ThrottleOutPacketType.Task);