diff options
author | Melanie | 2012-01-28 01:01:23 +0000 |
---|---|---|
committer | Melanie | 2012-01-28 01:01:23 +0000 |
commit | 428407c5e409f0734ce909d5db9b1114a92cba35 (patch) | |
tree | b1fc56efd4d8f9251811bfdb3df434534787b1c8 /OpenSim/Region/OptionalModules/Avatar | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Remove IClientAPI from the money module. It was only used to pass in the (diff) | |
download | opensim-SC-428407c5e409f0734ce909d5db9b1114a92cba35.zip opensim-SC-428407c5e409f0734ce909d5db9b1114a92cba35.tar.gz opensim-SC-428407c5e409f0734ce909d5db9b1114a92cba35.tar.bz2 opensim-SC-428407c5e409f0734ce909d5db9b1114a92cba35.tar.xz |
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar')
-rw-r--r-- | OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs index 4e214d9..d39b847 100644 --- a/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs +++ b/OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |||
@@ -713,7 +713,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups | |||
713 | if (money != null) | 713 | if (money != null) |
714 | { | 714 | { |
715 | // do the transaction, that is if the agent has got sufficient funds | 715 | // do the transaction, that is if the agent has got sufficient funds |
716 | if (!money.AmountCovered(remoteClient, money.GroupCreationCharge)) { | 716 | if (!money.AmountCovered(remoteClient.AgentId, money.GroupCreationCharge)) { |
717 | remoteClient.SendCreateGroupReply(UUID.Zero, false, "You have got issuficient funds to create a group."); | 717 | remoteClient.SendCreateGroupReply(UUID.Zero, false, "You have got issuficient funds to create a group."); |
718 | return UUID.Zero; | 718 | return UUID.Zero; |
719 | } | 719 | } |