aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authordahlia2011-03-31 22:56:04 -0700
committerdahlia2011-03-31 22:56:04 -0700
commite974fde95313e17c239e4e35487da897f725a904 (patch)
treeca7437393addc7daef254130e9abbb71235e125d
parentimplement LSL "print()" API function (diff)
downloadopensim-SC-e974fde95313e17c239e4e35487da897f725a904.zip
opensim-SC-e974fde95313e17c239e4e35487da897f725a904.tar.gz
opensim-SC-e974fde95313e17c239e4e35487da897f725a904.tar.bz2
opensim-SC-e974fde95313e17c239e4e35487da897f725a904.tar.xz
check threat configuration for LSL print()
Diffstat (limited to '')
-rw-r--r--OpenSim/Region/ScriptEngine/Shared/Api/Implementation/LSL_Api.cs7
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