diff options
Unify a previous refactor of object return with the older solution. We
really don't need two methods doing the same thing, but differently.
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 41533a1..c662a6b 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.Inventory.cs | |||
@@ -1518,9 +1518,10 @@ namespace OpenSim.Region.Framework.Scenes | |||
1518 | if (remoteClient != null) | 1518 | if (remoteClient != null) |
1519 | { | 1519 | { |
1520 | permissionToTake = | 1520 | permissionToTake = |
1521 | Permissions.CanReturnObject( | 1521 | Permissions.CanReturnObjects( |
1522 | grp.UUID, | 1522 | null, |
1523 | remoteClient.AgentId); | 1523 | remoteClient.AgentId, |
1524 | new List<SceneObjectGroup>() {grp}); | ||
1524 | permissionToDelete = permissionToTake; | 1525 | permissionToDelete = permissionToTake; |
1525 | 1526 | ||
1526 | if (permissionToDelete) | 1527 | if (permissionToDelete) |