aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules/Avatar
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-08 02:45:23 +0000
committerMelanie Thielker2008-10-08 02:45:23 +0000
commitc4d741180f0c69db90c8ccb2a06857656e7b1082 (patch)
tree6be3f8ebc4881178f2f4f8adb1c47884e3ac236e /OpenSim/Region/Environment/Modules/Avatar
parentMantis#2352. Thank you kindly, Jonc for a patch that: (diff)
downloadopensim-SC_OLD-c4d741180f0c69db90c8ccb2a06857656e7b1082.zip
opensim-SC_OLD-c4d741180f0c69db90c8ccb2a06857656e7b1082.tar.gz
opensim-SC_OLD-c4d741180f0c69db90c8ccb2a06857656e7b1082.tar.bz2
opensim-SC_OLD-c4d741180f0c69db90c8ccb2a06857656e7b1082.tar.xz
Add some permissions checks and fixes
Diffstat (limited to 'OpenSim/Region/Environment/Modules/Avatar')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs5
1 files changed, 2 insertions, 3 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
index ea2fc04..a015c63 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
@@ -1591,9 +1591,8 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
1591 return; 1591 return;
1592 } 1592 }
1593 1593
1594 doMoneyTransfer(remoteClient.AgentId, part.OwnerID, salePrice, 5000, "Object buy"); 1594 if (s.PerformObjectBuy(remoteClient, categoryID, localID, saleType))
1595 1595 doMoneyTransfer(remoteClient.AgentId, part.OwnerID, salePrice, 5000, "Object buy");
1596 s.PerformObjectBuy(remoteClient, categoryID, localID, saleType);
1597 } 1596 }
1598 } 1597 }
1599 1598