Merge pull request #9039 from TsFreddie/leakipfix

Fix Leak IP check
This commit is contained in:
heinrich5991 2024-09-25 10:21:35 +00:00 committed by GitHub
commit cc6d75d392
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1172,7 +1172,7 @@ void CServerBrowser::UpdateFromHttp()
}
// (Also add favorites we're not allowed to ping.)
CServerEntry *pEntry = Add(pFavorites[i].m_aAddrs, pFavorites[i].m_NumAddrs);
if(pFavorites->m_AllowPing)
if(pFavorites[i].m_AllowPing)
{
QueueRequest(pEntry);
}