Update YSFGateway.cpp

Removed this in error while I was cleaning up the match code.

This is clean enough and stable enough to merge it to the master branch, its functional, there are some edge cases left to clean up, but I cant yet tell if those are in YSFGateway or in the YSF2xxx modes.

Either way, having more eyes on it would be a good thing.
This commit is contained in:
Andy Taylor 2019-01-29 18:49:08 +00:00 committed by GitHub
parent 1044890df4
commit d3fe1515b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -550,7 +550,7 @@ void CYSFGateway::processWiresX(const unsigned char* buffer, unsigned char fi, u
m_linkType = LINK_YSF;
// If we are linking to a YSF2xxx mode, send the YSF2xxx gateway the link command too
if (reflector->m_wiresX) {
if ( (wiresXCommandPassthrough) && (reflector->m_wiresX) ) {
m_wiresX->sendConnect(m_ysfNetwork);
}
}