From a477f3333abe24ebdb2e9bbe0d09aeb18315d15e Mon Sep 17 00:00:00 2001 From: Andy Taylor Date: Mon, 28 Jan 2019 13:56:43 +0000 Subject: [PATCH] Update WiresX.cpp --- YSFGateway/WiresX.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/YSFGateway/WiresX.cpp b/YSFGateway/WiresX.cpp index 12aacbc..fcf2859 100644 --- a/YSFGateway/WiresX.cpp +++ b/YSFGateway/WiresX.cpp @@ -228,7 +228,7 @@ WX_STATUS CWiresX::process(const unsigned char* data, const unsigned char* sourc return WXS_NONE; // If we are using WiresX Passthrough (we already know we are on a YSF2xxx room from YSFGateway - if (wiresXCommandPassthrough == true) { + if (wiresXCommandPassthrough) { if (::memcmp(m_command + 1U, DX_REQ, 3U) == 0) { return WXS_NONE; } else if (::memcmp(m_command + 1U, ALL_REQ, 3U) == 0) {