diff options
author | Teravus Ovares | 2009-07-25 17:29:25 +0000 |
---|---|---|
committer | Teravus Ovares | 2009-07-25 17:29:25 +0000 |
commit | 5ae1ad995dfe8b8a2bc995b6e3eb4c0eca83ae17 (patch) | |
tree | 048689f4b5bb6d28e163d3c34d119238b25b772a /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | |
parent | Correct an issue in group packet sending that causes a nullref with (diff) | |
download | opensim-SC-5ae1ad995dfe8b8a2bc995b6e3eb4c0eca83ae17.zip opensim-SC-5ae1ad995dfe8b8a2bc995b6e3eb4c0eca83ae17.tar.gz opensim-SC-5ae1ad995dfe8b8a2bc995b6e3eb4c0eca83ae17.tar.bz2 opensim-SC-5ae1ad995dfe8b8a2bc995b6e3eb4c0eca83ae17.tar.xz |
* Fix Groups Module Null Reference when you were not a member of any group.
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 3 |
1 files changed, 2 insertions, 1 deletions
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 | |||
9791 | Group.GroupName = Utils.StringToBytes(GroupMembership[i].GroupName); | 9791 | Group.GroupName = Utils.StringToBytes(GroupMembership[i].GroupName); |
9792 | Group.GroupPowers = GroupMembership[i].GroupPowers; | 9792 | Group.GroupPowers = GroupMembership[i].GroupPowers; |
9793 | Groups[i] = Group; | 9793 | Groups[i] = Group; |
9794 | Groupupdate.GroupData = Groups; | 9794 | |
9795 | 9795 | ||
9796 | } | 9796 | } |
9797 | Groupupdate.GroupData = Groups; | ||
9797 | Groupupdate.AgentData = new AgentGroupDataUpdatePacket.AgentDataBlock(); | 9798 | Groupupdate.AgentData = new AgentGroupDataUpdatePacket.AgentDataBlock(); |
9798 | Groupupdate.AgentData.AgentID = AgentId; | 9799 | Groupupdate.AgentData.AgentID = AgentId; |
9799 | OutPacket(Groupupdate, ThrottleOutPacketType.Task); | 9800 | OutPacket(Groupupdate, ThrottleOutPacketType.Task); |