From f3f7d603675ac15d6397b50591b598aacc932862 Mon Sep 17 00:00:00 2001 From: Melanie Thielker Date: Sun, 24 May 2009 16:11:35 +0000 Subject: Add a new permissions check for bulk object returns. --- OpenSim/Region/CoreModules/World/Land/LandObject.cs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'OpenSim/Region/CoreModules/World/Land') diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs index ce66e46..ccb3a47 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs @@ -795,6 +795,9 @@ namespace OpenSim.Region.CoreModules.World.Land Dictionary> returns = new Dictionary>(); + if (!m_scene.Permissions.CanUseObjectReturn(this, type, remote_client)) + return; + lock (primsOverMe) { if (type == (uint)ObjectReturnType.Owner) -- cgit v1.1