diff options
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r-- | OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs index 162e1c6..3a842aa 100644 --- a/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs +++ b/OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |||
@@ -606,6 +606,9 @@ namespace OpenSim.Region.Environment.Scenes | |||
606 | public virtual void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, | 606 | public virtual void RequestTeleportToLocation(ScenePresence avatar, ulong regionHandle, Vector3 position, |
607 | Vector3 lookAt, uint teleportFlags) | 607 | Vector3 lookAt, uint teleportFlags) |
608 | { | 608 | { |
609 | if (!avatar.Scene.ExternalChecks.ExternalChecksCanTeleport(avatar.UUID)) | ||
610 | return; | ||
611 | |||
609 | bool destRegionUp = false; | 612 | bool destRegionUp = false; |
610 | 613 | ||
611 | IEventQueue eq = avatar.Scene.RequestModuleInterface<IEventQueue>(); | 614 | IEventQueue eq = avatar.Scene.RequestModuleInterface<IEventQueue>(); |