aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/Agent
diff options
context:
space:
mode:
authorMelanie2012-01-28 00:18:12 +0000
committerMelanie2012-01-28 00:18:12 +0000
commit7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6 (patch)
treee09e0fde68b645af20a37608bc45a0a6e9417cd0 /OpenSim/Region/CoreModules/Agent
parentAdd OS_NPC_SENSE_AS_AGENT option to osNpcCreate(). (diff)
downloadopensim-SC_OLD-7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6.zip
opensim-SC_OLD-7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6.tar.gz
opensim-SC_OLD-7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6.tar.bz2
opensim-SC_OLD-7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6.tar.xz
Remove IClientAPI from the money module. It was only used to pass in the
agent id anyway
Diffstat (limited to 'OpenSim/Region/CoreModules/Agent')
-rw-r--r--OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs
index a28d5d7..95e3aec 100644
--- a/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs
+++ b/OpenSim/Region/CoreModules/Agent/AssetTransaction/AssetTransactionModule.cs
@@ -246,7 +246,7 @@ namespace OpenSim.Region.CoreModules.Agent.AssetTransaction
246 246
247 if (mm != null) 247 if (mm != null)
248 { 248 {
249 if (!mm.UploadCovered(remoteClient, mm.UploadCharge)) 249 if (!mm.UploadCovered(remoteClient.AgentId, mm.UploadCharge))
250 { 250 {
251 remoteClient.SendAgentAlertMessage("Unable to upload asset. Insufficient funds.", false); 251 remoteClient.SendAgentAlertMessage("Unable to upload asset. Insufficient funds.", false);
252 return; 252 return;