Remove IClientAPI from the money module. It was only used to pass in the

agent id anyway
This commit is contained in:
Melanie
2012-01-28 00:18:12 +00:00
parent 7837c611fb
commit 7352aea9ac
6 changed files with 10 additions and 10 deletions

View File

@@ -713,7 +713,7 @@ namespace OpenSim.Region.OptionalModules.Avatar.XmlRpcGroups
if (money != null)
{
// do the transaction, that is if the agent has got sufficient funds
if (!money.AmountCovered(remoteClient, money.GroupCreationCharge)) {
if (!money.AmountCovered(remoteClient.AgentId, money.GroupCreationCharge)) {
remoteClient.SendCreateGroupReply(UUID.Zero, false, "You have got issuficient funds to create a group.");
return UUID.Zero;
}