Reinstate a check that i overzealously removed. Permissions are not slammed

without owner change anymore
0.6.1-post-fixes
Melanie Thielker 2008-11-28 01:07:22 +00:00
parent d50c752dbe
commit 48149f36c0
1 changed files with 1 additions and 1 deletions

View File

@ -975,7 +975,7 @@ namespace OpenSim.Region.Environment.Scenes
agentItem.InvType = taskItem.InvType;
agentItem.Flags = taskItem.Flags;
if (Permissions.PropagatePermissions())
if ((part.OwnerID != destAgent) && Permissions.PropagatePermissions())
{
agentItem.BasePermissions = taskItem.NextPermissions;
agentItem.CurrentPermissions = taskItem.NextPermissions | 8;