aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorJustin Clark-Casey (justincc)2012-10-10 01:37:57 +0100
committerJustin Clark-Casey (justincc)2012-10-10 01:37:57 +0100
commit11d8119a21c645d6a0d71edc7444f058ba89414b (patch)
tree50c5549c796c589d75c8336ed8421615dcd17c21 /OpenSim
parentminor: Add method doc to EventManager.OnNewClient, OnClientLogin, ClientClose... (diff)
downloadopensim-SC_OLD-11d8119a21c645d6a0d71edc7444f058ba89414b.zip
opensim-SC_OLD-11d8119a21c645d6a0d71edc7444f058ba89414b.tar.gz
opensim-SC_OLD-11d8119a21c645d6a0d71edc7444f058ba89414b.tar.bz2
opensim-SC_OLD-11d8119a21c645d6a0d71edc7444f058ba89414b.tar.xz
Remove osDropAttachment threat level check wrongly placed in OSSL_Api.ShoutErrorOnLackingOwnerPerms.
Diffstat (limited to 'OpenSim')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs1
1 files changed, 0 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 31be450..279ad59 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -3555,7 +3555,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
3555 /// <returns>boolean indicating whether an error was shouted.</returns> 3555 /// <returns>boolean indicating whether an error was shouted.</returns>
3556 protected bool ShoutErrorOnLackingOwnerPerms(int perms, string errorPrefix) 3556 protected bool ShoutErrorOnLackingOwnerPerms(int perms, string errorPrefix)
3557 { 3557 {
3558 CheckThreatLevel(ThreatLevel.Moderate, "osDropAttachment");
3559 m_host.AddScriptLPS(1); 3558 m_host.AddScriptLPS(1);
3560 bool fail = false; 3559 bool fail = false;
3561 if (m_item.PermsGranter != m_host.OwnerID) 3560 if (m_item.PermsGranter != m_host.OwnerID)