aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/CoreModules/World/Land/LandObject.cs
diff options
context:
space:
mode:
Diffstat (limited to 'OpenSim/Region/CoreModules/World/Land/LandObject.cs')
-rw-r--r--OpenSim/Region/CoreModules/World/Land/LandObject.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/CoreModules/World/Land/LandObject.cs b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
index b2d9b66..aca5514 100644
--- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs
+++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs
@@ -894,7 +894,7 @@ namespace OpenSim.Region.CoreModules.World.Land
894 894
895 foreach (List<SceneObjectGroup> ol in returns.Values) 895 foreach (List<SceneObjectGroup> ol in returns.Values)
896 { 896 {
897 if (m_scene.Permissions.CanUseObjectReturn(this, type, remote_client, ol)) 897 if (m_scene.Permissions.CanReturnObjects(this, remote_client.AgentId, ol))
898 m_scene.returnObjects(ol.ToArray(), remote_client.AgentId); 898 m_scene.returnObjects(ol.ToArray(), remote_client.AgentId);
899 } 899 }
900 } 900 }