From 48149f36c0b425c80ef1d9efa3ac6398d00e87d0 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Fri, 28 Nov 2008 01:07:22 +0000 Subject: Reinstate a check that i overzealously removed. Permissions are not slammed without owner change anymore --- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Region/Environment') diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 3e4663d..77ac121 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -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; -- cgit v1.1