Skip to content

Commit

Permalink
Fix Leak IP check
Browse files Browse the repository at this point in the history
  • Loading branch information
TsFreddie committed Sep 25, 2024
1 parent cb4a66a commit 18ff7f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/engine/client/serverbrowser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 18ff7f9

Please sign in to comment.