Skip to content

Commit

Permalink
Merge pull request ddnet#9039 from TsFreddie/leakipfix
Browse files Browse the repository at this point in the history
Fix Leak IP check
  • Loading branch information
heinrich5991 authored Sep 25, 2024
2 parents cb4a66a + 18ff7f9 commit cc6d75d
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 cc6d75d

Please sign in to comment.