Allow non-gods to deed no-mod objects

avinationmerge
Melanie 2012-05-14 01:21:10 +02:00
parent 9870d7e4e7
commit 59826c15ce
1 changed files with 4 additions and 1 deletions

View File

@ -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)