Fix Leak IP check

This commit is contained in:
TsFreddie 2024-09-25 18:01:24 +08:00
parent cb4a66aba8
commit 18ff7f9a5f
No known key found for this signature in database
GPG key ID: 3054B1FC80F9AF6F

View file

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