From 56d5b3bf92dbae94b608965c3c1d212a803e7fc7 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Sat, 20 Oct 2018 16:21:36 +0100 Subject: oops --- OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 2 +- OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 5e13592..1e0d2e5 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -158,7 +158,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if(m_osslconfig == null) m_osslconfig = m_ScriptEngine.Config; - m_debuggerSafe = m_ScriptEngine.Config.GetBoolean("DebuggerSafe", m_debuggerSafe); + m_debuggerSafe = m_osslconfig.GetBoolean("DebuggerSafe", m_debuggerSafe); m_UrlModule = m_ScriptEngine.World.RequestModuleInterface(); m_SoundModule = m_ScriptEngine.World.RequestModuleInterface(); diff --git a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs index 4c7d0bb..c7fdefc 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Tests/OSSL_ApiAttachmentTests.cs @@ -68,12 +68,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Tests IConfig xengineConfig = initConfigSource.AddConfig("XEngine"); xengineConfig.Set("Enabled", "true"); - xengineConfig.Set("AllowOSFunctions", "true"); - xengineConfig.Set("OSFunctionThreatLevel", "Severe"); IConfig oconfig = initConfigSource.AddConfig("OSSL"); oconfig.Set("DebuggerSafe", false); - oconfig.Set("Enabled", "true"); oconfig.Set("AllowOSFunctions", "true"); oconfig.Set("OSFunctionThreatLevel", "Severe"); -- cgit v1.1