From 827643680939c364c1edae2693de2c0c5236b369 Mon Sep 17 00:00:00 2001 From: s1lent Date: Sun, 21 May 2017 18:08:28 +0700 Subject: [PATCH] Fixes #471 --- rehlds/HLTV/Proxy/src/Proxy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rehlds/HLTV/Proxy/src/Proxy.cpp b/rehlds/HLTV/Proxy/src/Proxy.cpp index e6e44e5..90a9f1d 100644 --- a/rehlds/HLTV/Proxy/src/Proxy.cpp +++ b/rehlds/HLTV/Proxy/src/Proxy.cpp @@ -1341,7 +1341,7 @@ bool Proxy::CheckChallenge(NetAddress *from, unsigned int challengeNumber) { for (auto& it : m_Challenges) { - if (it.adr.Equal(from)) { + if (from->EqualBase(&it.adr)) { if (it.challenge == challengeNumber) { return (m_SystemTime - it.time <= 40); }