aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim
diff options
context:
space:
mode:
authorMelanie Thielker2008-09-18 17:06:47 +0000
committerMelanie Thielker2008-09-18 17:06:47 +0000
commit584704edd3b4a8b58e859fef5c9abac6c67ca93a (patch)
treee7b55616b4518c5d5510ddd23f44bce1e48a4670 /OpenSim
parentFix list reset behavior, and thereby squash one warning (diff)
downloadopensim-SC_OLD-584704edd3b4a8b58e859fef5c9abac6c67ca93a.zip
opensim-SC_OLD-584704edd3b4a8b58e859fef5c9abac6c67ca93a.tar.gz
opensim-SC_OLD-584704edd3b4a8b58e859fef5c9abac6c67ca93a.tar.bz2
opensim-SC_OLD-584704edd3b4a8b58e859fef5c9abac6c67ca93a.tar.xz
Remove redundant permissions check in OSSL_Api.cs
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs6
1 files changed, 0 insertions, 6 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index 7404640..c0c776d 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -736,12 +736,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
736 736
737 public Hashtable osParseJSON(string JSON) 737 public Hashtable osParseJSON(string JSON)
738 { 738 {
739 if (!m_OSFunctionsEnabled)
740 {
741 OSSLError("osParseJSON: permission denied");
742 return null;
743 }
744
745 CheckThreatLevel(ThreatLevel.None, "osParseJSON"); 739 CheckThreatLevel(ThreatLevel.None, "osParseJSON");
746 740
747 m_host.AddScriptLPS(1); 741 m_host.AddScriptLPS(1);