aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared
diff options
context:
space:
mode:
authorMelanie2012-01-06 17:38:53 +0000
committerMelanie2012-01-06 17:38:53 +0000
commit81cf774fe8bbba7968c46d50e39e8f09b6e9da56 (patch)
tree9e719fd00201bed44f85da1da8b7b69d7ccf0868 /OpenSim/Region/ScriptEngine/Shared
parentFix up asset stuff (diff)
parentAdd ThreatLevel.NoAccess to OSSL. This allows to enable OSSL without enabling (diff)
downloadopensim-SC-81cf774fe8bbba7968c46d50e39e8f09b6e9da56.zip
opensim-SC-81cf774fe8bbba7968c46d50e39e8f09b6e9da56.tar.gz
opensim-SC-81cf774fe8bbba7968c46d50e39e8f09b6e9da56.tar.bz2
opensim-SC-81cf774fe8bbba7968c46d50e39e8f09b6e9da56.tar.xz
Merge branch 'master' into careminster
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs5
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Interface/IOSSL_Api.cs1
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,