diff options
author | Melanie Thielker | 2008-10-11 22:11:48 +0000 |
---|---|---|
committer | Melanie Thielker | 2008-10-11 22:11:48 +0000 |
commit | 82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc (patch) | |
tree | 9855844d9e95e2c2021a8d5e9c3dc5436fa1d290 /OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs | |
parent | * Change permission check for llParcelMediaCommandList to use the permissions (diff) | |
download | opensim-SC-82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc.zip opensim-SC-82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc.tar.gz opensim-SC-82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc.tar.bz2 opensim-SC-82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc.tar.xz |
Implement the hook needed for the CanTeleport check
Diffstat (limited to '')
-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>(); |