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 '')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Land/LandObject.cs | 2 |
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 e85136a..331f183 100644 --- a/OpenSim/Region/CoreModules/World/Land/LandObject.cs +++ b/OpenSim/Region/CoreModules/World/Land/LandObject.cs | |||
@@ -892,7 +892,7 @@ namespace OpenSim.Region.CoreModules.World.Land | |||
892 | 892 | ||
893 | foreach (List<SceneObjectGroup> ol in returns.Values) | 893 | foreach (List<SceneObjectGroup> ol in returns.Values) |
894 | { | 894 | { |
895 | if (m_scene.Permissions.CanUseObjectReturn(this, type, remote_client, ol)) | 895 | if (m_scene.Permissions.CanReturnObjects(this, remote_client.AgentId, ol)) |
896 | m_scene.returnObjects(ol.ToArray(), remote_client.AgentId); | 896 | m_scene.returnObjects(ol.ToArray(), remote_client.AgentId); |
897 | } | 897 | } |
898 | } | 898 | } |