diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/OSSL_Api.cs | 14 |
1 files changed, 7 insertions, 7 deletions
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 |