diff options
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index ef14270..0849daf 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -1395,7 +1395,10 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
1395 | 1395 | ||
1396 | GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID); | 1396 | GroupMembershipData[] membershipArray = GetProfileListedGroupMemberships(remoteClient, agentID); |
1397 | IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>(); | 1397 | IEventQueue eq = remoteClient.Scene.RequestModuleInterface<IEventQueue>(); |
1398 | eq.GroupMembershipData(GetRequestingAgentID(remoteClient), dataForClientID, membershipArray); | 1398 | if (eq != null) |
1399 | eq.GroupMembershipData(GetRequestingAgentID(remoteClient), dataForClientID, membershipArray); | ||
1400 | else | ||
1401 | remoteClient.SendGroupMembership(membershipArray); | ||
1399 | 1402 | ||
1400 | remoteClient.RefreshGroupMembership(); | 1403 | remoteClient.RefreshGroupMembership(); |
1401 | } | 1404 | } |