aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
diff options
context:
space:
mode:
authorJeff Ames2009-07-23 15:32:11 +0000
committerJeff Ames2009-07-23 15:32:11 +0000
commita133e83f3ab38ad7abf0b3c591421d3eac418c0c (patch)
tree0c0de3d37510a54d8668402d310fc0cf7e8c255d /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
parentMinor: rename libsl to libomv in Contributors.txt. (diff)
downloadopensim-SC_OLD-a133e83f3ab38ad7abf0b3c591421d3eac418c0c.zip
opensim-SC_OLD-a133e83f3ab38ad7abf0b3c591421d3eac418c0c.tar.gz
opensim-SC_OLD-a133e83f3ab38ad7abf0b3c591421d3eac418c0c.tar.bz2
opensim-SC_OLD-a133e83f3ab38ad7abf0b3c591421d3eac418c0c.tar.xz
Formatting cleanup.
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs19
1 files changed, 9 insertions, 10 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
index 4a46949..fc19785 100644
--- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
+++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/XmlRpcGroupsModule.cs
@@ -724,17 +724,17 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
724 remoteClient.SendCreateGroupReply(UUID.Zero, false, "A group with the same name already exists."); 724 remoteClient.SendCreateGroupReply(UUID.Zero, false, "A group with the same name already exists.");
725 return UUID.Zero; 725 return UUID.Zero;
726 } 726 }
727 // is there is a money module present ? 727 // is there is a money module present ?
728 IMoneyModule money=remoteClient.Scene.RequestModuleInterface<IMoneyModule>(); 728 IMoneyModule money=remoteClient.Scene.RequestModuleInterface<IMoneyModule>();
729 if (money != null) 729 if (money != null)
730 { 730 {
731 // do the transaction, that is if the agent has got sufficient funds 731 // do the transaction, that is if the agent has got sufficient funds
732 if (!money.GroupCreationCovered(remoteClient)) { 732 if (!money.GroupCreationCovered(remoteClient)) {
733 remoteClient.SendCreateGroupReply(UUID.Zero, false, "You have got issuficient funds to create a group."); 733 remoteClient.SendCreateGroupReply(UUID.Zero, false, "You have got issuficient funds to create a group.");
734 return UUID.Zero; 734 return UUID.Zero;
735 } 735 }
736 money.ApplyGroupCreationCharge(remoteClient.AgentId); 736 money.ApplyGroupCreationCharge(remoteClient.AgentId);
737 } 737 }
738 UUID groupID = m_groupData.CreateGroup(grID, name, charter, showInList, insigniaID, membershipFee, openEnrollment, allowPublish, maturePublish, remoteClient.AgentId); 738 UUID groupID = m_groupData.CreateGroup(grID, name, charter, showInList, insigniaID, membershipFee, openEnrollment, allowPublish, maturePublish, remoteClient.AgentId);
739 739
740 remoteClient.SendCreateGroupReply(groupID, true, "Group created successfullly"); 740 remoteClient.SendCreateGroupReply(groupID, true, "Group created successfullly");
@@ -743,7 +743,6 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
743 SendAgentGroupDataUpdate(remoteClient, remoteClient.AgentId); 743 SendAgentGroupDataUpdate(remoteClient, remoteClient.AgentId);
744 744
745 return groupID; 745 return groupID;
746
747 } 746 }
748 747
749 public GroupNoticeData[] GroupNoticesListRequest(IClientAPI remoteClient, UUID groupID) 748 public GroupNoticeData[] GroupNoticesListRequest(IClientAPI remoteClient, UUID groupID)