diff options
Diffstat (limited to 'OpenSim/Region/Framework/Scenes')
-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 8fe2d72..2aba2dd 100644 --- a/OpenSim/Region/Framework/Scenes/Scene.cs +++ b/OpenSim/Region/Framework/Scenes/Scene.cs | |||
@@ -3230,17 +3230,18 @@ namespace OpenSim.Region.Framework.Scenes | |||
3230 | /// </summary> | 3230 | /// </summary> |
3231 | /// <param name="agentId">The avatar's Unique ID</param> | 3231 | /// <param name="agentId">The avatar's Unique ID</param> |
3232 | /// <param name="client">The IClientAPI for the client</param> | 3232 | /// <param name="client">The IClientAPI for the client</param> |
3233 | public virtual void TeleportClientHome(UUID agentId, IClientAPI client) | 3233 | public virtual bool TeleportClientHome(UUID agentId, IClientAPI client) |
3234 | { | 3234 | { |
3235 | if (EntityTransferModule != null) | 3235 | if (EntityTransferModule != null) |
3236 | { | 3236 | { |
3237 | EntityTransferModule.TeleportHome(agentId, client); | 3237 | return EntityTransferModule.TeleportHome(agentId, client); |
3238 | } | 3238 | } |
3239 | else | 3239 | else |
3240 | { | 3240 | { |
3241 | m_log.DebugFormat("[SCENE]: Unable to teleport user home: no AgentTransferModule is active"); | 3241 | m_log.DebugFormat("[SCENE]: Unable to teleport user home: no AgentTransferModule is active"); |
3242 | client.SendTeleportFailed("Unable to perform teleports on this simulator."); | 3242 | client.SendTeleportFailed("Unable to perform teleports on this simulator."); |
3243 | } | 3243 | } |
3244 | return false; | ||
3244 | } | 3245 | } |
3245 | 3246 | ||
3246 | /// <summary> | 3247 | /// <summary> |