diff options
author | Melanie | 2012-01-28 00:18:12 +0000 |
---|---|---|
committer | Melanie | 2012-01-28 00:18:12 +0000 |
commit | 7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6 (patch) | |
tree | e09e0fde68b645af20a37608bc45a0a6e9417cd0 /OpenSim/Region/ClientStack/Linden/Caps/NewFileAgentInventoryVariablePriceModule.cs | |
parent | Add OS_NPC_SENSE_AS_AGENT option to osNpcCreate(). (diff) | |
download | opensim-SC-7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6.zip opensim-SC-7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6.tar.gz opensim-SC-7352aea9ac82c0c1a580ffd00d4436a8ea98f2b6.tar.bz2 opensim-SC-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/ClientStack/Linden/Caps/NewFileAgentInventoryVariablePriceModule.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/NewFileAgentInventoryVariablePriceModule.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/NewFileAgentInventoryVariablePriceModule.cs b/OpenSim/Region/ClientStack/Linden/Caps/NewFileAgentInventoryVariablePriceModule.cs index b2f04f9..aed03b3 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/NewFileAgentInventoryVariablePriceModule.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/NewFileAgentInventoryVariablePriceModule.cs | |||
@@ -147,7 +147,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
147 | { | 147 | { |
148 | if (m_scene.TryGetClient(agentID, out client)) | 148 | if (m_scene.TryGetClient(agentID, out client)) |
149 | { | 149 | { |
150 | if (!mm.UploadCovered(client, mm.UploadCharge)) | 150 | if (!mm.UploadCovered(client.AgentId, mm.UploadCharge)) |
151 | { | 151 | { |
152 | if (client != null) | 152 | if (client != null) |
153 | client.SendAgentAlertMessage("Unable to upload asset. Insufficient funds.", false); | 153 | client.SendAgentAlertMessage("Unable to upload asset. Insufficient funds.", false); |
@@ -268,4 +268,4 @@ namespace OpenSim.Region.ClientStack.Linden | |||
268 | 268 | ||
269 | } | 269 | } |
270 | } | 270 | } |
271 | } \ No newline at end of file | 271 | } |