From 911ef0ce52ec80b6629e14c7961005863dd02e05 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Mon, 26 Nov 2018 18:35:45 +0000 Subject: remove a ossl dev only option --- .../ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs') diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index 90352fa..0e3c97f 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs @@ -141,7 +141,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api internal ThreatLevel m_MaxThreatLevel = ThreatLevel.VeryLow; internal float m_ScriptDelayFactor = 1.0f; internal float m_ScriptDistanceFactor = 1.0f; - internal bool m_debuggerSafe = false; internal Dictionary m_FunctionPerms = new Dictionary(); protected IUrlModule m_UrlModule = null; protected ISoundModule m_SoundModule = null; @@ -158,8 +157,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api if(m_osslconfig == null) m_osslconfig = m_ScriptEngine.Config; - m_debuggerSafe = m_osslconfig.GetBoolean("DebuggerSafe", m_debuggerSafe); - m_UrlModule = m_ScriptEngine.World.RequestModuleInterface(); m_SoundModule = m_ScriptEngine.World.RequestModuleInterface(); @@ -226,14 +223,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api internal void OSSLError(string msg) { - if (m_debuggerSafe) - { - OSSLShoutError(msg); - } - else - { - throw new ScriptException("OSSL Runtime Error: " + msg); - } + throw new ScriptException("OSSL Runtime Error: " + msg); } /// -- cgit v1.1