From 18ff7f9a5f8012a38dba7aad95687aec575918eb Mon Sep 17 00:00:00 2001 From: TsFreddie Date: Wed, 25 Sep 2024 18:01:24 +0800 Subject: [PATCH] Fix Leak IP check --- src/engine/client/serverbrowser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/engine/client/serverbrowser.cpp b/src/engine/client/serverbrowser.cpp index b39b700be..07cd529da 100644 --- a/src/engine/client/serverbrowser.cpp +++ b/src/engine/client/serverbrowser.cpp @@ -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); }