From d6c3f0fe32561efdbecb826446a42f7776085fba Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 1 May 2017 15:47:11 +0100 Subject: [PATCH] Don't have the inactivity timer on a non-revertible startup reflector. --- YSFGateway/YSFGateway.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index 98e77dc..23efd39 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -231,7 +231,9 @@ int CYSFGateway::run() m_netNetwork->writePoll(); m_netNetwork->writePoll(); - inactivityTimer.start(); + if (!revert) + inactivityTimer.start(); + lostTimer.start(); pollTimer.start();