aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/Environment/Scenes
diff options
context:
space:
mode:
authorMelanie Thielker2008-10-11 22:11:48 +0000
committerMelanie Thielker2008-10-11 22:11:48 +0000
commit82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc (patch)
tree9855844d9e95e2c2021a8d5e9c3dc5436fa1d290 /OpenSim/Region/Environment/Scenes
parent* Change permission check for llParcelMediaCommandList to use the permissions (diff)
downloadopensim-SC_OLD-82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc.zip
opensim-SC_OLD-82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc.tar.gz
opensim-SC_OLD-82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc.tar.bz2
opensim-SC_OLD-82b2b2dccbbb6b66525fb0b8c8802a4e3d7cc3cc.tar.xz
Implement the hook needed for the CanTeleport check
Diffstat (limited to 'OpenSim/Region/Environment/Scenes')
-rw-r--r--OpenSim/Region/Environment/Scenes/SceneCommunicationService.cs3
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>();