From 36970ce021d6eaabe1ebd0914615e596e70d7dd3 Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Mon, 28 Jan 2019 13:56:14 +0000 Subject: [PATCH] Update YSFGateway.cpp --- YSFGateway/YSFGateway.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSFGateway/YSFGateway.cpp b/YSFGateway/YSFGateway.cpp index 01e8fc1..4e1490d 100644 --- a/YSFGateway/YSFGateway.cpp +++ b/YSFGateway/YSFGateway.cpp @@ -268,7 +268,7 @@ int CYSFGateway::run() unsigned char ft = fich.getFT(); CYSFReflector* reflector = m_wiresX->getReflector(); - if ( (wiresXCommandPassthrough == true) && (m_linkType == LINK_YSF) && (reflector->m_name.rfind("YSF2DMR", 0) == 0 || reflector->m_name.rfind("YSF2P25", 0) == 0 || reflector->m_name.rfind("YSF2NXDN", 0) == 0) ) { + if ( (wiresXCommandPassthrough) && (m_linkType == LINK_YSF) && (reflector->m_name.rfind("YSF2DMR", 0) == 0 || reflector->m_name.rfind("YSF2P25", 0) == 0 || reflector->m_name.rfind("YSF2NXDN", 0) == 0) ) { // Allow WiresX to Pass Through processDTMF(buffer, dt); processWiresX(buffer, fi, dt, fn, ft, true);