Update YSFGateway.cpp

fix my mistake
This commit is contained in:
Andy Taylor 2020-05-03 12:22:33 +01:00 committed by GitHub
parent 81ddfe5901
commit fcb7dde1e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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());