diff options
Diffstat (limited to 'OpenSim/Region/ScriptEngine')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs index e3e16bd..43b0da3 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs | |||
@@ -10282,7 +10282,12 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api | |||
10282 | public void print(string str) | 10282 | public void print(string str) |
10283 | { | 10283 | { |
10284 | // yes, this is a real LSL function. See: http://wiki.secondlife.com/wiki/Print | 10284 | // yes, this is a real LSL function. See: http://wiki.secondlife.com/wiki/Print |
10285 | m_log.Info("LSL print():" + str); | 10285 | IOSSL_Api ossl = (IOSSL_Api)m_ScriptEngine.GetApi(m_itemID, "OSSL"); |
10286 | if (ossl != null) | ||
10287 | { | ||
10288 | ossl.CheckThreatLevel(ThreatLevel.High, "print"); | ||
10289 | m_log.Info("LSL print():" + str); | ||
10290 | } | ||
10286 | } | 10291 | } |
10287 | } | 10292 | } |
10288 | 10293 | ||