Remove osDropAttachment threat level check wrongly placed in OSSL_Api.ShoutErrorOnLackingOwnerPerms.
parent
528085adef
commit
11d8119a21
|
@ -3555,7 +3555,6 @@ namespace OpenSim.Region.ScriptEngine.Shared.Api
|
|||
/// <returns>boolean indicating whether an error was shouted.</returns>
|
||||
protected bool ShoutErrorOnLackingOwnerPerms(int perms, string errorPrefix)
|
||||
{
|
||||
CheckThreatLevel(ThreatLevel.Moderate, "osDropAttachment");
|
||||
m_host.AddScriptLPS(1);
|
||||
bool fail = false;
|
||||
if (m_item.PermsGranter != m_host.OwnerID)
|
||||
|
|
Loading…
Reference in New Issue