mirror of
https://github.com/opensim/opensim.git
synced 2026-08-06 17:32:42 +08:00
Remove osDropAttachment threat level check wrongly placed in OSSL_Api.ShoutErrorOnLackingOwnerPerms.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user