From fcb7dde1e6983fe92e3d2644fed2c3bd11336c1a Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Sun, 3 May 2020 12:22:33 +0100 Subject: [PATCH] Update YSFGateway.cpp fix my mistake --- YSFGateway/YSFGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index 76c521a..8793a58 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -906,7 +906,7 @@ void CYSFGateway::processRemoteCommands() std::string idShort = "FCS"; if (raw.length() == 3U) { id += raw; - if (raw.length() == 5U) { + } else if (raw.length() == 5U) { idShort += raw; } else { LogWarning("Invalid FCS reflector id - \"%s\"", raw.c_str());