diff options
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs index 2347cf2..7bc59fc 100644 --- a/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs +++ b/OpenSim/Region/ClientStack/Linden/Caps/BunchOfCaps/BunchOfCaps.cs | |||
@@ -366,7 +366,7 @@ namespace OpenSim.Region.ClientStack.Linden | |||
366 | 366 | ||
367 | if (mm != null) | 367 | if (mm != null) |
368 | { | 368 | { |
369 | if (!mm.UploadCovered(client, mm.UploadCharge)) | 369 | if (!mm.UploadCovered(client.AgentId, mm.UploadCharge)) |
370 | { | 370 | { |
371 | if (client != null) | 371 | if (client != null) |
372 | client.SendAgentAlertMessage("Unable to upload asset. Insufficient funds.", false); | 372 | client.SendAgentAlertMessage("Unable to upload asset. Insufficient funds.", false); |
@@ -1018,4 +1018,4 @@ namespace OpenSim.Region.ClientStack.Linden | |||
1018 | fs.Close(); | 1018 | fs.Close(); |
1019 | } | 1019 | } |
1020 | } | 1020 | } |
1021 | } \ No newline at end of file | 1021 | } |