Merge pull request #173 from AndyTaylorTweet/RemoteCommands

Update YSFGateway.cpp
This commit is contained in:
Jonathan Naylor 2020-05-03 12:25:49 +01:00 committed by GitHub
commit 76b3eb16cc
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());