diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 2c682d4..17277d7 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -3600,7 +3600,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3600 | /// <returns></returns> | 3600 | /// <returns></returns> |
3601 | public void osSetContentType(LSL_Key id, string type) | 3601 | public void osSetContentType(LSL_Key id, string type) |
3602 | { | 3602 | { |
3603 | CheckThreatLevel(ThreatLevel.High,"osSetResponseType"); | 3603 | CheckThreatLevel(ThreatLevel.High, "osSetContentType"); |
3604 | |||
3604 | if (m_UrlModule != null) | 3605 | if (m_UrlModule != null) |
3605 | m_UrlModule.HttpContentType(new UUID(id),type); | 3606 | m_UrlModule.HttpContentType(new UUID(id),type); |
3606 | } | 3607 | } |
@@ -3611,7 +3612,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
3611 | /// <returns>boolean indicating whether an error was shouted.</returns> | 3612 | /// <returns>boolean indicating whether an error was shouted.</returns> |
3612 | protected bool ShoutErrorOnLackingOwnerPerms(int perms, string errorPrefix) | 3613 | protected bool ShoutErrorOnLackingOwnerPerms(int perms, string errorPrefix) |
3613 | { | 3614 | { |
3614 | CheckThreatLevel(ThreatLevel.Moderate, "osDropAttachment"); | ||
3615 | m_host.AddScriptLPS(1); | 3615 | m_host.AddScriptLPS(1); |
3616 | bool fail = false; | 3616 | bool fail = false; |
3617 | if (m_item.PermsGranter != m_host.OwnerID) | 3617 | if (m_item.PermsGranter != m_host.OwnerID) |