diff options
author | Justin Clark-Casey (justincc) | 2010-10-18 23:21:34 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2010-10-19 02:04:14 +0100 |
commit | b9bef50852cecab6e6fba75d44d4ee2306072299 (patch) | |
tree | 78f0aeffe8857d72bf54e44ff482988cafb50624 /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs | |
parent | Drop max oar loading version back to 0 from 1 (diff) | |
download | opensim-SC_OLD-b9bef50852cecab6e6fba75d44d4ee2306072299.zip opensim-SC_OLD-b9bef50852cecab6e6fba75d44d4ee2306072299.tar.gz opensim-SC_OLD-b9bef50852cecab6e6fba75d44d4ee2306072299.tar.bz2 opensim-SC_OLD-b9bef50852cecab6e6fba75d44d4ee2306072299.tar.xz |
Display more information when xmlrpcgroupsserver comms fails
Improve debugging messages
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs index 185d44d..d178e18 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsMessagingModule.cs | |||
@@ -212,12 +212,15 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
212 | 212 | ||
213 | public void SendMessageToGroup(GridInstantMessage im, UUID groupID) | 213 | public void SendMessageToGroup(GridInstantMessage im, UUID groupID) |
214 | { | 214 | { |
215 | List<GroupMembersData> groupMembers = m_groupData.GetGroupMembers(UUID.Zero, groupID); | ||
216 | |||
215 | if (m_debugEnabled) | 217 | if (m_debugEnabled) |
216 | m_log.DebugFormat("[GROUPS-MESSAGING]: {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name); | 218 | m_log.DebugFormat( |
217 | 219 | "[GROUPS-MESSAGING]: SendMessageToGroup called for group {0} with {1} members", | |
218 | 220 | groupID, groupMembers.Count); | |
219 | foreach (GroupMembersData member in m_groupData.GetGroupMembers(UUID.Zero, groupID)) | 221 | |
220 | { | 222 | foreach (GroupMembersData member in groupMembers) |
223 | { | ||
221 | if (m_groupData.hasAgentDroppedGroupChatSession(member.AgentID, groupID)) | 224 | if (m_groupData.hasAgentDroppedGroupChatSession(member.AgentID, groupID)) |
222 | { | 225 | { |
223 | // Don't deliver messages to people who have dropped this session | 226 | // Don't deliver messages to people who have dropped this session |
@@ -263,9 +266,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
263 | 266 | ||
264 | void OnClientLogin(IClientAPI client) | 267 | void OnClientLogin(IClientAPI client) |
265 | { | 268 | { |
266 | if (m_debugEnabled) m_log.DebugFormat("[GROUPS-MESSAGING]: OnInstantMessage registered for {0}", client.Name); | 269 | if (m_debugEnabled) m_log.DebugFormat("[GROUPS-MESSAGING]: OnInstantMessage registered for {0}", client.Name); |
267 | |||
268 | |||
269 | } | 270 | } |
270 | 271 | ||
271 | private void OnNewClient(IClientAPI client) | 272 | private void OnNewClient(IClientAPI client) |