diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 5 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | 1 |
2 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index c57684b..8cc6554 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -159,6 +159,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
159 | string risk = m_ScriptEngine.Config.GetString("OSFunctionThreatLevel", "VeryLow"); | 159 | string risk = m_ScriptEngine.Config.GetString("OSFunctionThreatLevel", "VeryLow"); |
160 | switch (risk) | 160 | switch (risk) |
161 | { | 161 | { |
162 | case "NoAccess": | ||
163 | m_MaxThreatLevel = ThreatLevel.NoAccess; | ||
164 | break; | ||
162 | case "None": | 165 | case "None": |
163 | m_MaxThreatLevel = ThreatLevel.None; | 166 | m_MaxThreatLevel = ThreatLevel.None; |
164 | break; | 167 | break; |
@@ -2627,4 +2630,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2627 | return date.ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ"); | 2630 | return date.ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ"); |
2628 | } | 2631 | } |
2629 | } | 2632 | } |
2630 | } \ No newline at end of file | 2633 | } |
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs index 221a513..a49feb0 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs | |||
@@ -42,6 +42,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces | |||
42 | { | 42 | { |
43 | public enum ThreatLevel | 43 | public enum ThreatLevel |
44 | { | 44 | { |
45 | NoAccess = -1, | ||
45 | None = 0, | 46 | None = 0, |
46 | Nuisance = 1, | 47 | Nuisance = 1, |
47 | VeryLow = 2, | 48 | VeryLow = 2, |