mirror of
https://github.com/g4klx/ircDDBGateway.git
synced 2026-01-09 17:59:58 +01:00
Fix not being able to have two reflectorx at same address eg XLX under DCS and XRF
This commit is contained in:
parent
f0ae853141
commit
a047577506
|
|
@ -45,8 +45,10 @@ void CGatewayCache::update(const wxString& gateway, const wxString& address, DST
|
|||
|
||||
if(rec == NULL) {
|
||||
rec = findByAddress(addr_in);//did this gateway punch to us and we do not have a gateway set for it ?
|
||||
if(rec != NULL && rec->getGateway().empty())
|
||||
rec->setGateway(gateway);
|
||||
if(rec != NULL && rec->getGateway().empty() && rec->getProtocol() == protocol)
|
||||
rec->setGateway(gateway);
|
||||
else
|
||||
rec = NULL;
|
||||
}
|
||||
|
||||
if (rec == NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue