From 9ecbef3ceafe4960729c4127a006b3486946fdec Mon Sep 17 00:00:00 2001 From: Jonathan Naylor Date: Mon, 20 Mar 2017 15:44:25 +0000 Subject: [PATCH] Make Wires-X forget about disconnected reflectors. --- YSFGateway/WiresX.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YSFGateway/WiresX.cpp b/YSFGateway/WiresX.cpp index de57458..aa04aa7 100644 --- a/YSFGateway/WiresX.cpp +++ b/YSFGateway/WiresX.cpp @@ -290,6 +290,8 @@ void CWiresX::processDisconnect(const unsigned char* source) { ::LogDebug("Received Disconect from %10.10s", source); + m_reflector = NULL; + m_status = WXSI_DISCONNECT; m_timer.start(); }