diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes/Scene.cs')
-rw-r--r-- | OpenSim/Region/Framework/Scenes/Scene.cs | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs index 957c4e8..736b696 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -2985,15 +2985,16 @@ namespace OpenSim.Region.Framework.Scenes | |||
2985 | /// </summary> | 2985 | /// </summary> |
2986 | /// <param name="agentId">The avatar's Unique ID</param> | 2986 | /// <param name="agentId">The avatar's Unique ID</param> |
2987 | /// <param name="client">The IClientAPI for the client</param> | 2987 | /// <param name="client">The IClientAPI for the client</param> |
2988 | public virtual void TeleportClientHome(UUID agentId, IClientAPI client) | 2988 | public virtual bool TeleportClientHome(UUID agentId, IClientAPI client) |
2989 | { | 2989 | { |
2990 | if (m_teleportModule != null) | 2990 | if (m_teleportModule != null) |
2991 | m_teleportModule.TeleportHome(agentId, client); | 2991 | return m_teleportModule.TeleportHome(agentId, client); |
2992 | else | 2992 | else |
2993 | { | 2993 | { |
2994 | m_log.DebugFormat("[SCENE]: Unable to teleport user home: no AgentTransferModule is active"); | 2994 | m_log.DebugFormat("[SCENE]: Unable to teleport user home: no AgentTransferModule is active"); |
2995 | client.SendTeleportFailed("Unable to perform teleports on this simulator."); | 2995 | client.SendTeleportFailed("Unable to perform teleports on this simulator."); |
2996 | } | 2996 | } |
2997 | return false; | ||
2997 | } | 2998 | } |
2998 | 2999 | ||
2999 | /// <summary> | 3000 | /// <summary> |