Make return object actually use the return object permissions

0.6.1-post-fixes
Melanie Thielker 2008-11-16 18:27:24 +00:00
parent 5aa10a8ab1
commit e46719e8f1
1 changed files with 1 additions and 1 deletions

View File

@ -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)