From d3fe1515b3300a0443c10a2dbbd2cae8201e1f0e Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Tue, 29 Jan 2019 18:49:08 +0000 Subject: [PATCH] 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. --- YSFGateway/YSFGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index b820cb6..fc470dc 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -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); } }