diff options
Diffstat (limited to 'OpenSim/Region')
-rw-r--r-- | OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs index abd0fcb..940b535 100644 --- a/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs +++ b/OpenSim/Region/CoreModules/World/Estate/EstateManagementModule.cs | |||
@@ -470,6 +470,9 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
470 | 470 | ||
471 | private void handleEstateTeleportOneUserHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID, UUID prey) | 471 | private void handleEstateTeleportOneUserHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID, UUID prey) |
472 | { | 472 | { |
473 | if (!m_scene.Permissions.CanIssueEstateCommand(remover_client.AgentId, false)) | ||
474 | return; | ||
475 | |||
473 | if (prey != UUID.Zero) | 476 | if (prey != UUID.Zero) |
474 | { | 477 | { |
475 | ScenePresence s = m_scene.GetScenePresence(prey); | 478 | ScenePresence s = m_scene.GetScenePresence(prey); |
@@ -483,6 +486,9 @@ namespace OpenSim.Region.CoreModules.World.Estate | |||
483 | 486 | ||
484 | private void handleEstateTeleportAllUsersHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID) | 487 | private void handleEstateTeleportAllUsersHomeRequest(IClientAPI remover_client, UUID invoice, UUID senderID) |
485 | { | 488 | { |
489 | if (!m_scene.Permissions.CanIssueEstateCommand(remover_client.AgentId, false)) | ||
490 | return; | ||
491 | |||
486 | m_scene.ForEachScenePresence(delegate(ScenePresence sp) | 492 | m_scene.ForEachScenePresence(delegate(ScenePresence sp) |
487 | { | 493 | { |
488 | if (sp.UUID != senderID) | 494 | if (sp.UUID != senderID) |