From 584704edd3b4a8b58e859fef5c9abac6c67ca93a Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Thu, 18 Sep 2008 17:06:47 +0000 Subject: Remove redundant permissions check in OSSL_Api.cs --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 ------ 1 file changed, 6 deletions(-) (limited to 'OpenSim') 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 public Hashtable osParseJSON(string JSON) { - if (!m_OSFunctionsEnabled) - { - OSSLError("osParseJSON: permission denied"); - return null; - } - CheckThreatLevel(ThreatLevel.None, "osParseJSON"); m_host.AddScriptLPS(1); -- cgit v1.1