mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Remove redundant permissions check in OSSL_Api.cs
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user