Permalink
Browse files

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

…tachFromAvatar()
  • Loading branch information...
1 parent da24909 commit 8ad6da983eea0d66e4f9d095bd40a51b5f04655c @JAllard JAllard committed May 18, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Aurora/AuroraDotNetEngine/APIs/OSSL_Api.cs
@@ -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();
}

0 comments on commit 8ad6da9

Please sign in to comment.