diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 |
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); |