diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 8167c68..64da9d4 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -599,7 +599,7 @@ namespace OpenSim.Region.Environment.Scenes | |||
599 | public virtual void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, | 599 | public virtual void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, |
600 | Vector3 lookAt, uint teleportFlags) | 600 | Vector3 lookAt, uint teleportFlags) |
601 | { | 601 | { |
602 | if (!avatar.Scene.ExternalChecks.ExternalChecksCanTeleport(avatar.UUID)) | 602 | if (!avatar.Scene.Permissions.CanTeleport(avatar.UUID)) |
603 | return; | 603 | return; |
604 | 604 | ||
605 | bool destRegionUp = false; | 605 | bool destRegionUp = false; |