diff options
author | Justin Clark-Casey (justincc) | 2012-01-28 00:44:11 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-01-28 00:44:11 +0000 |
commit | e391d6390c3249ff6a509ebdc99e3037a850dada (patch) | |
tree | d419f1a29c80b1da48c58aa8766a37c41fb24279 /OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs | |
parent | Comment out xfer section in Scene.UpdateTaskInventory() which was causing spu... (diff) | |
parent | Remove IClientAPI from the money module. It was only used to pass in the (diff) | |
download | opensim-SC_OLD-e391d6390c3249ff6a509ebdc99e3037a850dada.zip opensim-SC_OLD-e391d6390c3249ff6a509ebdc99e3037a850dada.tar.gz opensim-SC_OLD-e391d6390c3249ff6a509ebdc99e3037a850dada.tar.bz2 opensim-SC_OLD-e391d6390c3249ff6a509ebdc99e3037a850dada.tar.xz |
Merge branch 'master' of ssh://opensimulator.org/var/git/opensim
Diffstat (limited to 'OpenSim/Region/OptionalModules/Avatar/XmlRpcGroups/GroupsModule.cs')
-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 740dbdd..b60cd42 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 | } |