Allow non-gods to deed no-mod objects
parent
9870d7e4e7
commit
59826c15ce
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue