diff options
author | Melanie | 2013-06-23 01:48:57 +0100 |
---|---|---|
committer | Melanie | 2013-06-23 01:48:57 +0100 |
commit | 24a4367fc2ff9456ec165db14a646dba977550a0 (patch) | |
tree | f6880151d7b5e4749685dc4f4cc5d1130a9544e7 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Merge branch 'master' into careminster (diff) | |
parent | Fix prim locking to behave like SL (diff) | |
download | opensim-SC-24a4367fc2ff9456ec165db14a646dba977550a0.zip opensim-SC-24a4367fc2ff9456ec165db14a646dba977550a0.tar.gz opensim-SC-24a4367fc2ff9456ec165db14a646dba977550a0.tar.bz2 opensim-SC-24a4367fc2ff9456ec165db14a646dba977550a0.tar.xz |
Merge branch 'avination-current' into careminster
Conflicts:
OpenSim/Region/CoreModules/Framework/InventoryAccess/InventoryAccessModule.cs
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index d5f14bf..f05aaa9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -3180,8 +3180,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3180 | return; | 3180 | return; |
3181 | } | 3181 | } |
3182 | 3182 | ||
3183 | string reason; | ||
3183 | money.ObjectGiveMoney( | 3184 | money.ObjectGiveMoney( |
3184 | m_host.ParentGroup.RootPart.UUID, m_host.ParentGroup.RootPart.OwnerID, toID, amount,UUID.Zero); | 3185 | m_host.ParentGroup.RootPart.UUID, m_host.ParentGroup.RootPart.OwnerID, toID, amount,UUID.Zero, out reason); |
3185 | }); | 3186 | }); |
3186 | 3187 | ||
3187 | return 0; | 3188 | return 0; |
@@ -12841,8 +12842,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
12841 | return; | 12842 | return; |
12842 | } | 12843 | } |
12843 | 12844 | ||
12845 | string reason; | ||
12844 | bool result = money.ObjectGiveMoney( | 12846 | bool result = money.ObjectGiveMoney( |
12845 | m_host.ParentGroup.RootPart.UUID, m_host.ParentGroup.RootPart.OwnerID, toID, amount, txn); | 12847 | m_host.ParentGroup.RootPart.UUID, m_host.ParentGroup.RootPart.OwnerID, toID, amount, txn, out reason); |
12846 | 12848 | ||
12847 | if (result) | 12849 | if (result) |
12848 | { | 12850 | { |
@@ -12850,7 +12852,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
12850 | return; | 12852 | return; |
12851 | } | 12853 | } |
12852 | 12854 | ||
12853 | replydata = "LINDENDOLLAR_INSUFFICIENTFUNDS"; | 12855 | replydata = reason; |
12854 | } | 12856 | } |
12855 | finally | 12857 | finally |
12856 | { | 12858 | { |