mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-09 22:52:26 +02:00
Ignore residual "connection denied" packets from previous domain
This commit is contained in:
parent
662b2bfc5e
commit
6926cd205a
1 changed files with 6 additions and 0 deletions
|
@ -529,6 +529,12 @@ bool DomainHandler::reasonSuggestsDomainLogin(ConnectionRefusedReason reasonCode
|
|||
}
|
||||
|
||||
void DomainHandler::processDomainServerConnectionDeniedPacket(QSharedPointer<ReceivedMessage> message) {
|
||||
|
||||
// Ignore any residual packets from previous domain.
|
||||
if (message->getSenderSockAddr().getAddress().toString() != _domainURL.host()) {
|
||||
return;
|
||||
}
|
||||
|
||||
// we're hearing from this domain-server, don't need to refresh API info
|
||||
_apiRefreshTimer.stop();
|
||||
|
||||
|
|
Loading…
Reference in a new issue