diff options
author | Justin Clark-Casey (justincc) | 2012-07-05 21:10:59 +0100 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-07-05 21:10:59 +0100 |
commit | 8674604ff5760335f08fa910381608757e89ad21 (patch) | |
tree | df4118eda2d9f53b22dd28b825bd025e9b3e7522 /OpenSim/Region/ScriptEngine/Shared/Api/Implementation | |
parent | minor: Add more information to OSFunctionThreatLevel and clarify some text in... (diff) | |
download | opensim-SC-8674604ff5760335f08fa910381608757e89ad21.zip opensim-SC-8674604ff5760335f08fa910381608757e89ad21.tar.gz opensim-SC-8674604ff5760335f08fa910381608757e89ad21.tar.bz2 opensim-SC-8674604ff5760335f08fa910381608757e89ad21.tar.xz |
regrade osFormatString, osMatchString and osReplaceString to VeryLow.
I can't see that these present any real hazard to sim functioning.
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-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). |