Merge branch 'master' into careminster
commit
81cf774fe8
|
@ -159,6 +159,9 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
string risk = m_ScriptEngine.Config.GetString("OSFunctionThreatLevel", "VeryLow");
|
||||
switch (risk)
|
||||
{
|
||||
case "NoAccess":
|
||||
m_MaxThreatLevel = ThreatLevel.NoAccess;
|
||||
break;
|
||||
case "None":
|
||||
m_MaxThreatLevel = ThreatLevel.None;
|
||||
break;
|
||||
|
@ -2627,4 +2630,4 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
return date.ToString("yyyy-MM-ddTHH:mm:ss.fffffffZ");
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api.Interfaces
|
|||
{
|
||||
public enum ThreatLevel
|
||||
{
|
||||
NoAccess = -1,
|
||||
None = 0,
|
||||
Nuisance = 1,
|
||||
VeryLow = 2,
|
||||
|
|
Loading…
Reference in New Issue