diff options
author | Michael Cortez | 2009-08-19 08:17:29 -0700 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2009-09-18 20:53:50 +0100 |
commit | 0e07a7ef1044f5987c0d8871972204bce3155a68 (patch) | |
tree | faea19ae0eeb7d5e73862c50cb28625c721d160a /OpenSim | |
parent | Add additional debugging to help track down bug with notices not going to gro... (diff) | |
download | opensim-SC_OLD-0e07a7ef1044f5987c0d8871972204bce3155a68.zip opensim-SC_OLD-0e07a7ef1044f5987c0d8871972204bce3155a68.tar.gz opensim-SC_OLD-0e07a7ef1044f5987c0d8871972204bce3155a68.tar.bz2 opensim-SC_OLD-0e07a7ef1044f5987c0d8871972204bce3155a68.tar.xz |
Adding additional debug to output the group powers specified when updating a group role. This will be used to solve some issues with the Group Powers enum.
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index daba7bc..fd74168 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -485,6 +485,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
485 | bucket[18] = 0; //dunno | 485 | bucket[18] = 0; //dunno |
486 | } | 486 | } |
487 | 487 | ||
488 | |||
488 | m_groupData.AddGroupNotice(GetClientGroupRequestID(remoteClient), GroupID, NoticeID, im.fromAgentName, Subject, Message, bucket); | 489 | m_groupData.AddGroupNotice(GetClientGroupRequestID(remoteClient), GroupID, NoticeID, im.fromAgentName, Subject, Message, bucket); |
489 | if (OnNewGroupNotice != null) | 490 | if (OnNewGroupNotice != null) |
490 | { | 491 | { |
@@ -821,7 +822,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
821 | { | 822 | { |
822 | if (m_debugEnabled) m_log.DebugFormat("[GROUPS]: {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name); | 823 | if (m_debugEnabled) m_log.DebugFormat("[GROUPS]: {0} called", System.Reflection.MethodBase.GetCurrentMethod().Name); |
823 | 824 | ||
824 | // TODO: Security Checks? | 825 | // Security Checks are handled in the Groups Service. |
825 | 826 | ||
826 | GroupRequestID grID = GetClientGroupRequestID(remoteClient); | 827 | GroupRequestID grID = GetClientGroupRequestID(remoteClient); |
827 | 828 | ||
@@ -838,6 +839,11 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
838 | case OpenMetaverse.GroupRoleUpdate.UpdateAll: | 839 | case OpenMetaverse.GroupRoleUpdate.UpdateAll: |
839 | case OpenMetaverse.GroupRoleUpdate.UpdateData: | 840 | case OpenMetaverse.GroupRoleUpdate.UpdateData: |
840 | case OpenMetaverse.GroupRoleUpdate.UpdatePowers: | 841 | case OpenMetaverse.GroupRoleUpdate.UpdatePowers: |
842 | if (m_debugEnabled) | ||
843 | { | ||
844 | GroupPowers gp = (GroupPowers)powers; | ||
845 | m_log.DebugFormat("[GROUPS]: Role ({0}) updated with Powers ({1}) ({2})", name, powers.ToString(), gp.ToString()); | ||
846 | } | ||
841 | m_groupData.UpdateGroupRole(grID, groupID, roleID, name, description, title, powers); | 847 | m_groupData.UpdateGroupRole(grID, groupID, roleID, name, description, title, powers); |
842 | break; | 848 | break; |
843 | 849 | ||