diff options
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs index fa9364d..7385dd9 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -2125,7 +2125,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2125 | 2125 | ||
2126 | public LSL_String osFormatString(string str, LSL_List strings) | 2126 | public LSL_String osFormatString(string str, LSL_List strings) |
2127 | { | 2127 | { |
2128 | CheckThreatLevel(ThreatLevel.Low, "osFormatString"); | 2128 | CheckThreatLevel(ThreatLevel.VeryLow, "osFormatString"); |
2129 | m_host.AddScriptLPS(1); | 2129 | m_host.AddScriptLPS(1); |
2130 | 2130 | ||
2131 | return String.Format(str, strings.Data); | 2131 | return String.Format(str, strings.Data); |
@@ -2133,7 +2133,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2133 | 2133 | ||
2134 | public LSL_List osMatchString(string src, string pattern, int start) | 2134 | public LSL_List osMatchString(string src, string pattern, int start) |
2135 | { | 2135 | { |
2136 | CheckThreatLevel(ThreatLevel.High, "osMatchString"); | 2136 | CheckThreatLevel(ThreatLevel.VeryLow, "osMatchString"); |
2137 | m_host.AddScriptLPS(1); | 2137 | m_host.AddScriptLPS(1); |
2138 | 2138 | ||
2139 | LSL_List result = new LSL_List(); | 2139 | LSL_List result = new LSL_List(); |
@@ -2175,7 +2175,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2175 | 2175 | ||
2176 | public LSL_String osReplaceString(string src, string pattern, string replace, int count, int start) | 2176 | public LSL_String osReplaceString(string src, string pattern, string replace, int count, int start) |
2177 | { | 2177 | { |
2178 | CheckThreatLevel(ThreatLevel.High, "osReplaceString"); | 2178 | CheckThreatLevel(ThreatLevel.VeryLow, "osReplaceString"); |
2179 | m_host.AddScriptLPS(1); | 2179 | m_host.AddScriptLPS(1); |
2180 | 2180 | ||
2181 | // Normalize indices (if negative). | 2181 | // Normalize indices (if negative). |