aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs8
1 files changed, 3 insertions, 5 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs
index 2115376..af1018f 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsServicesConnectorModule.cs
@@ -47,9 +47,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
47 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")] 47 [Extension(Path = "/OpenSim/RegionModules", NodeName = "RegionModule")]
48 public class XmlRpcGroupsServicesConnectorModule : ISharedRegionModule, IGroupsServicesConnector 48 public class XmlRpcGroupsServicesConnectorModule : ISharedRegionModule, IGroupsServicesConnector
49 { 49 {
50 private static readonly ILog m_log = 50 private static readonly ILog m_log = LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
51 LogManager.GetLogger(MethodBase.GetCurrentMethod().DeclaringType);
52
53 51
54 public const GroupPowers m_DefaultEveryonePowers = GroupPowers.AllowSetHome | 52 public const GroupPowers m_DefaultEveryonePowers = GroupPowers.AllowSetHome |
55 GroupPowers.Accountable | 53 GroupPowers.Accountable |
@@ -530,7 +528,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
530 return HashTableToGroupMembershipData(respData); 528 return HashTableToGroupMembershipData(respData);
531 } 529 }
532 530
533
534 public List<GroupMembershipData> GetAgentGroupMemberships(GroupRequestID requestID, UUID AgentID) 531 public List<GroupMembershipData> GetAgentGroupMemberships(GroupRequestID requestID, UUID AgentID)
535 { 532 {
536 Hashtable param = new Hashtable(); 533 Hashtable param = new Hashtable();
@@ -777,7 +774,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
777 774
778 private GroupRecord GroupProfileHashtableToGroupRecord(Hashtable groupProfile) 775 private GroupRecord GroupProfileHashtableToGroupRecord(Hashtable groupProfile)
779 { 776 {
780
781 GroupRecord group = new GroupRecord(); 777 GroupRecord group = new GroupRecord();
782 group.GroupID = UUID.Parse((string)groupProfile["GroupID"]); 778 group.GroupID = UUID.Parse((string)groupProfile["GroupID"]);
783 group.GroupName = groupProfile["Name"].ToString(); 779 group.GroupName = groupProfile["Name"].ToString();
@@ -796,6 +792,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
796 792
797 return group; 793 return group;
798 } 794 }
795
799 private static GroupMembershipData HashTableToGroupMembershipData(Hashtable respData) 796 private static GroupMembershipData HashTableToGroupMembershipData(Hashtable respData)
800 { 797 {
801 GroupMembershipData data = new GroupMembershipData(); 798 GroupMembershipData data = new GroupMembershipData();
@@ -828,6 +825,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
828 data.MembershipFee = int.Parse((string)respData["MembershipFee"]); 825 data.MembershipFee = int.Parse((string)respData["MembershipFee"]);
829 data.OpenEnrollment = ((string)respData["OpenEnrollment"] == "1"); 826 data.OpenEnrollment = ((string)respData["OpenEnrollment"] == "1");
830 data.ShowInList = ((string)respData["ShowInList"] == "1"); 827 data.ShowInList = ((string)respData["ShowInList"] == "1");
828
831 return data; 829 return data;
832 } 830 }
833 831