diff options
author | Melanie Thielker | 2008-09-18 17:06:47 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-09-18 17:06:47 +0000 |
commit | 584704edd3b4a8b58e859fef5c9abac6c67ca93a (patch) | |
tree | e7b55616b4518c5d5510ddd23f44bce1e48a4670 /OpenSim | |
parent | Fix list reset behavior, and thereby squash one warning (diff) | |
download | opensim-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 'OpenSim')
-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); |