diff options
author | Justin Clark-Casey (justincc) | 2012-10-10 01:37:57 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-10-10 01:37:57 +0100 |
commit | 11d8119a21c645d6a0d71edc7444f058ba89414b (patch) | |
tree | 50c5549c796c589d75c8336ed8421615dcd17c21 /OpenSim/Region/ScriptEngine | |
parent | minor: Add method doc to EventManager.OnNewClient, OnClientLogin, ClientClose... (diff) | |
download | opensim-SC-11d8119a21c645d6a0d71edc7444f058ba89414b.zip opensim-SC-11d8119a21c645d6a0d71edc7444f058ba89414b.tar.gz opensim-SC-11d8119a21c645d6a0d71edc7444f058ba89414b.tar.bz2 opensim-SC-11d8119a21c645d6a0d71edc7444f058ba89414b.tar.xz |
Remove osDropAttachment threat level check wrongly placed in OSSL_Api.ShoutErrorOnLackingOwnerPerms.
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 1 |
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) |