mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2025-12-06 05:32:02 +01:00
Ignore XLX reflectors not starting with XLX
This commit is contained in:
parent
bf83762e2c
commit
ff62562e3a
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue