Skip to content

Commit

Permalink
Fixes #471
Browse files Browse the repository at this point in the history
  • Loading branch information
s1lentq committed May 21, 2017
1 parent 5981a4c commit 8276436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rehlds/HLTV/Proxy/src/Proxy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit 8276436

Please sign in to comment.