diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 0837ca5..942c625 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -2342,7 +2342,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
2342 | } | 2342 | } |
2343 | else | 2343 | else |
2344 | { | 2344 | { |
2345 | if (!Permissions.CanEditObject(sog.UUID, remoteClient.AgentId)) | 2345 | if (!Permissions.IsGod(remoteClient.AgentId) && sog.OwnerID != remoteClient.AgentId) |
2346 | continue; | ||
2347 | |||
2348 | if (!Permissions.CanTransferObject(sog.UUID, groupID)) | ||
2346 | continue; | 2349 | continue; |
2347 | 2350 | ||
2348 | if (sog.GroupID != groupID) | 2351 | if (sog.GroupID != groupID) |