mirror of
https://github.com/opensim/opensim.git
synced 2026-05-15 03:07:08 +08:00
Remove IClientAPI from the money module. It was only used to pass in the
agent id anyway
This commit is contained in:
@@ -246,7 +246,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
|
||||
|
||||
if (mm != null)
|
||||
{
|
||||
if (!mm.UploadCovered(remoteClient, mm.UploadCharge))
|
||||
if (!mm.UploadCovered(remoteClient.AgentId, mm.UploadCharge))
|
||||
{
|
||||
remoteClient.SendAgentAlertMessage("Unable to upload asset. Insufficient funds.", false);
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user