From ff62562e3ac824e8fe94f67a5f92796bc05921a5 Mon Sep 17 00:00:00 2001 From: Geoffrey Merck F4FXL - KC3FRA Date: Sun, 24 Mar 2019 07:45:59 +0100 Subject: [PATCH] Ignore XLX reflectors not starting with XLX --- ircDDBGateway/IRCDDBGatewayThread.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ircDDBGateway/IRCDDBGatewayThread.cpp b/ircDDBGateway/IRCDDBGatewayThread.cpp index 394b3a7..09c2ed0 100644 --- a/ircDDBGateway/IRCDDBGatewayThread.cpp +++ b/ircDDBGateway/IRCDDBGatewayThread.cpp @@ -1262,6 +1262,10 @@ void CIRCDDBGatewayThread::loadXLXReflectors() CHostFile hostFile = CHostFile(m_xlxHostsFileName, true); for (unsigned int i = 0U; i < hostFile.getCount(); i++) { wxString reflector = hostFile.getName(i); + + if(!reflector.StartsWith(_T("XLX"))) + continue; + in_addr address = CUDPReaderWriter::lookup(hostFile.getAddress(i)); bool lock = hostFile.getLock(i);