From 94d44142e37a9191162a426f28dd23f40b0cf4aa Mon Sep 17 00:00:00 2001 From: Justin Clark-Casey (justincc) Date: Wed, 3 Apr 2013 00:48:36 +0100 Subject: minor: Stop falsely logging that a teleport was being aborted on client logout even when no teleport was active. --- .../CoreModules/Framework/EntityTransfer/EntityTransferModule.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'OpenSim') diff --git a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs index 3e69bf2..ca0cef1 100644 --- a/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs +++ b/OpenSim/Region/CoreModules/Framework/EntityTransfer/EntityTransferModule.cs @@ -280,10 +280,8 @@ namespace OpenSim.Region.CoreModules.Framework.EntityTransfer private void OnConnectionClosed(IClientAPI client) { - if (client.IsLoggingOut) + if (client.IsLoggingOut && m_entityTransferStateMachine.UpdateInTransit(client.AgentId, AgentTransferState.Aborting)) { - m_entityTransferStateMachine.UpdateInTransit(client.AgentId, AgentTransferState.Aborting); - m_log.DebugFormat( "[ENTITY TRANSFER MODULE]: Aborted teleport request from {0} in {1} due to simultaneous logout", client.Name, Scene.Name); -- cgit v1.1