diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.Inventory.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs index 6ebd048..cadb858 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1522,9 +1522,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1522 | if (remoteClient != null) | 1522 | if (remoteClient != null) |
1523 | { | 1523 | { |
1524 | permissionToTake = | 1524 | permissionToTake = |
1525 | Permissions.CanReturnObject( | 1525 | Permissions.CanReturnObjects( |
1526 | grp.UUID, | 1526 | null, |
1527 | remoteClient.AgentId); | 1527 | remoteClient.AgentId, |
1528 | new List<SceneObjectGroup>() {grp}); | ||
1528 | permissionToDelete = permissionToTake; | 1529 | permissionToDelete = permissionToTake; |
1529 | 1530 | ||
1530 | if (permissionToDelete) | 1531 | if (permissionToDelete) |