aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs4
1 files changed, 0 insertions, 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 846c8db..6202a5c 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -138,7 +138,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
138 internal TaskInventoryItem m_item; 138 internal TaskInventoryItem m_item;
139 internal bool m_OSFunctionsEnabled = false; 139 internal bool m_OSFunctionsEnabled = false;
140 internal ThreatLevel m_MaxThreatLevel = ThreatLevel.VeryLow; 140 internal ThreatLevel m_MaxThreatLevel = ThreatLevel.VeryLow;
141 internal float m_ScriptDistanceFactor = 1.0f;
142 internal Dictionary<string, FunctionPerms > m_FunctionPerms = new Dictionary<string, FunctionPerms >(); 141 internal Dictionary<string, FunctionPerms > m_FunctionPerms = new Dictionary<string, FunctionPerms >();
143 142
144 protected IUrlModule m_UrlModule = null; 143 protected IUrlModule m_UrlModule = null;
@@ -158,9 +157,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
158 // m_log.Warn("[OSSL] OSSL FUNCTIONS ENABLED"); 157 // m_log.Warn("[OSSL] OSSL FUNCTIONS ENABLED");
159 } 158 }
160 159
161 m_ScriptDistanceFactor =
162 m_ScriptEngine.Config.GetFloat("ScriptDistanceLimitFactor", 1.0f);
163
164 string risk = m_ScriptEngine.Config.GetString("OSFunctionThreatLevel", "VeryLow"); 160 string risk = m_ScriptEngine.Config.GetString("OSFunctionThreatLevel", "VeryLow");
165 switch (risk) 161 switch (risk)
166 { 162 {