check threat configuration for LSL print()
parent
8c8a0a182e
commit
e974fde953
|
@ -10282,9 +10282,14 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
public void print(string str)
|
||||
{
|
||||
// yes, this is a real LSL function. See: http://wiki.secondlife.com/wiki/Print
|
||||
IOSSL_Api ossl = (IOSSL_Api)m_ScriptEngine.GetApi(m_itemID, "OSSL");
|
||||
if (ossl != null)
|
||||
{
|
||||
ossl.CheckThreatLevel(ThreatLevel.High, "print");
|
||||
m_log.Info("LSL print():" + str);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public class NotecardCache
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue