Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Change Threat level to High for osForceAttachToAvatar() and osForceDe…

…tachFromAvatar()
  • Loading branch information...
commit 8ad6da983eea0d66e4f9d095bd40a51b5f04655c 1 parent da24909
JAllard JAllard authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Aurora/AuroraDotNetEngine/APIs/OSSL_Api.cs
4 Aurora/AuroraDotNetEngine/APIs/OSSL_Api.cs
View
@@ -506,14 +506,14 @@ public void osRegionNotice(string msg)
public void osForceAttachToAvatar(int attachmentPoint)
{
- if (!ScriptProtection.CheckThreatLevel(ThreatLevel.VeryLow, "osForceAttachToAvatar", m_host, "OSSL", m_itemID)) return;
+ if (!ScriptProtection.CheckThreatLevel(ThreatLevel.High, "osForceAttachToAvatar", m_host, "OSSL", m_itemID)) return;
InitLSL();
((LSL_Api)m_LSL_Api).AttachToAvatar(attachmentPoint);
}
public void osForceDetachFromAvatar()
{
- if (!ScriptProtection.CheckThreatLevel(ThreatLevel.VeryLow, "osForceDetachFromAvatar", m_host, "OSSL", m_itemID)) return;
+ if (!ScriptProtection.CheckThreatLevel(ThreatLevel.High, "osForceDetachFromAvatar", m_host, "OSSL", m_itemID)) return;
InitLSL();
((LSL_Api)m_LSL_Api).DetachFromAvatar();
}
Please sign in to comment.
Something went wrong with that request. Please try again.