Unify a previous refactor of object return with the older solution. We

really don't need two methods doing the same thing, but differently.
This commit is contained in:
Melanie
2010-03-18 18:57:29 +00:00
parent a1cd3b5b88
commit 69b5ddceda
6 changed files with 21 additions and 102 deletions

View File

@@ -892,7 +892,7 @@ namespace OpenSim.Region.CoreModules.World.Land
foreach (List<SceneObjectGroup> ol in returns.Values)
{
if (m_scene.Permissions.CanUseObjectReturn(this, type, remote_client, ol))
if (m_scene.Permissions.CanReturnObjects(this, remote_client.AgentId, ol))
m_scene.returnObjects(ol.ToArray(), remote_client.AgentId);
}
}