diff options
author | Melanie | 2012-10-12 19:05:06 +0100 |
---|---|---|
committer | Melanie | 2012-10-12 19:05:06 +0100 |
commit | 6ce93b22d1bc0f2a89c0d7a8d79bfe8c85a2d9b4 (patch) | |
tree | d81136f8cc2c602d5cc6b783e5cb3d23343a089e /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | Merge branch 'avination' into careminster (diff) | |
parent | BulletSim: only use native sphere shape if it is a sphere. (diff) | |
download | opensim-SC-6ce93b22d1bc0f2a89c0d7a8d79bfe8c85a2d9b4.zip opensim-SC-6ce93b22d1bc0f2a89c0d7a8d79bfe8c85a2d9b4.tar.gz opensim-SC-6ce93b22d1bc0f2a89c0d7a8d79bfe8c85a2d9b4.tar.bz2 opensim-SC-6ce93b22d1bc0f2a89c0d7a8d79bfe8c85a2d9b4.tar.xz |
Merge branch 'master' into careminster
Conflicts:
OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs
OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
OpenSim/Region/Framework/Scenes/Scene.cs
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) |