From 59826c15cea3ba4aa647d5d9545341d3e6df731f Mon Sep 17 00:00:00 2001 From: Melanie Date: Mon, 14 May 2012 01:21:10 +0200 Subject: [PATCH] Allow non-gods to deed no-mod objects --- OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 0089c7d405..29465c042d 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs @@ -2338,7 +2338,10 @@ namespace OpenSim.Region.Framework.Scenes } else { - if (!Permissions.CanEditObject(sog.UUID, remoteClient.AgentId)) + if (!Permissions.IsGod(remoteClient.AgentId) && sog.OwnerID != remoteClient.AgentId) + continue; + + if (!Permissions.CanTransferObject(sog.UUID, groupID)) continue; if (sog.GroupID != groupID)