aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Modules
diff options
context:
space:
mode:
authorCharles Krinke2008-05-23 01:38:20 +0000
committerCharles Krinke2008-05-23 01:38:20 +0000
commit7dcaa409b34288a5743483a53a8f4e87994edda8 (patch)
treeae26cb8f0b93a72001bc0ea73884f15bf5122201 /OpenSim/Region/Environment/Modules
parent* minor: Remove unused variables causing warnings in Scene (diff)
downloadopensim-SC_OLD-7dcaa409b34288a5743483a53a8f4e87994edda8.zip
opensim-SC_OLD-7dcaa409b34288a5743483a53a8f4e87994edda8.tar.gz
opensim-SC_OLD-7dcaa409b34288a5743483a53a8f4e87994edda8.tar.bz2
opensim-SC_OLD-7dcaa409b34288a5743483a53a8f4e87994edda8.tar.xz
Thank you kindly, Melanie, for a patch which:
Previously, upload charging was possible only for UPD uploads. This is because UDP uploads are charged by the viewer, while in CAPS, this was changed to be server side, so hackers couldn't avoid paying the upload charge. This patch adds a method to allow implementation of this serverside charge.
Diffstat (limited to 'OpenSim/Region/Environment/Modules')
-rw-r--r--OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
index d64afe7..1883b0a 100644
--- a/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
+++ b/OpenSim/Region/Environment/Modules/Avatar/Currency/SampleMoney/SampleMoneyModule.cs
@@ -182,6 +182,10 @@ namespace OpenSim.Region.Environment.Modules.Avatar.Currency.SampleMoney
182 } 182 }
183 } 183 }
184 184
185 public void ApplyUploadCharge(LLUUID agentID)
186 {
187 }
188
185 public bool ObjectGiveMoney(LLUUID objectID, LLUUID fromID, LLUUID toID, int amount) 189 public bool ObjectGiveMoney(LLUUID objectID, LLUUID fromID, LLUUID toID, int amount)
186 { 190 {
187 string description = String.Format("Object {0} pays {1}", resolveObjectName(objectID), resolveAgentName(toID)); 191 string description = String.Format("Object {0} pays {1}", resolveObjectName(objectID), resolveAgentName(toID));