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 b3f90e2..b710229 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | |||
@@ -1909,8 +1909,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
1909 | }; | 1909 | }; |
1910 | 1910 | ||
1911 | return NotecardCache.GetLines(assetID); | 1911 | return NotecardCache.GetLines(assetID); |
1912 | |||
1913 | |||
1914 | } | 1912 | } |
1915 | 1913 | ||
1916 | public string osAvatarName2Key(string firstname, string lastname) | 1914 | public string osAvatarName2Key(string firstname, string lastname) |
@@ -2024,7 +2022,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2024 | // Find matches beginning at start position | 2022 | // Find matches beginning at start position |
2025 | Regex matcher = new Regex(pattern); | 2023 | Regex matcher = new Regex(pattern); |
2026 | Match match = matcher.Match(src, start); | 2024 | Match match = matcher.Match(src, start); |
2027 | if (match.Success) | 2025 | while (match.Success) |
2028 | { | 2026 | { |
2029 | foreach (System.Text.RegularExpressions.Group g in match.Groups) | 2027 | foreach (System.Text.RegularExpressions.Group g in match.Groups) |
2030 | { | 2028 | { |
@@ -2034,6 +2032,8 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
2034 | result.Add(new LSL_Integer(g.Index)); | 2032 | result.Add(new LSL_Integer(g.Index)); |
2035 | } | 2033 | } |
2036 | } | 2034 | } |
2035 | |||
2036 | match = match.NextMatch(); | ||
2037 | } | 2037 | } |
2038 | 2038 | ||
2039 | return result; | 2039 | return result; |