mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 00:46:02 +08:00
Allow non-gods to deed no-mod objects
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user