mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Remove IClientAPI from the money module. It was only used to pass in the
agent id anyway
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user