aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ScriptEngine/Shared/Api/Implementation
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs2
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs14
2 files changed, 8 insertions, 8 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
index 655d85c..fffc331 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs
@@ -4699,7 +4699,7 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
4699 if (cindex > 0) 4699 if (cindex > 0)
4700 { 4700 {
4701 ret.Add(str.Substring(0, cindex)); 4701 ret.Add(str.Substring(0, cindex));
4702 } 4702 }
4703 // Cannot use spacers.Contains() because spacers may be either type String or LSLString 4703 // Cannot use spacers.Contains() because spacers may be either type String or LSLString
4704 for (int j = 0; j < spacers.Length; j++) 4704 for (int j = 0; j < spacers.Length; j++)
4705 { 4705 {
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
index bfe289c..ee95342 100644
--- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
+++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs
@@ -710,18 +710,18 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
710 return String.Empty; 710 return String.Empty;
711 } 711 }
712 } 712 }
713 713
714 public string osGetSimulatorVersion() 714 public string osGetSimulatorVersion()
715 { 715 {
716 // High because it can be used to target attacks to known weaknesses 716 // High because it can be used to target attacks to known weaknesses
717 // This would allow a new class of griefer scripts that don't even 717 // This would allow a new class of griefer scripts that don't even
718 // require their user to know what they are doing (see script 718 // require their user to know what they are doing (see script
719 // kiddie) 719 // kiddie)
720 // 720 //
721 CheckThreatLevel(ThreatLevel.High,"osGetSimulatorVersion"); 721 CheckThreatLevel(ThreatLevel.High,"osGetSimulatorVersion");
722 m_host.AddScriptLPS(1); 722 m_host.AddScriptLPS(1);
723 return m_ScriptEngine.World.GetSimulatorVersion(); 723 return m_ScriptEngine.World.GetSimulatorVersion();
724 } 724 }
725 725
726 726
727 //for testing purposes only 727 //for testing purposes only