From e46719e8f117bb7590129f3abd2ea9aa0629ede8 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 16 Nov 2008 18:27:24 +0000 Subject: [PATCH] Make return object actually use the return object permissions --- OpenSim/Region/Environment/Scenes/Scene.Inventory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs index 86349cb407..9ad8382a4d 100644 --- a/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs +++ b/OpenSim/Region/Environment/Scenes/Scene.Inventory.cs @@ -2255,7 +2255,7 @@ namespace OpenSim.Region.Environment.Scenes { folderID = userInfo.RootFolder.ID; } - permissionToDelete = ExternalChecks.ExternalChecksCanDeleteObject(returnobjects[i].UUID, AgentId); + permissionToDelete = ExternalChecks.ExternalChecksCanReturnObject(returnobjects[i].UUID, AgentId); // If the user doesn't have permission, go on to the next one. if (!permissionToDelete)