mirror of
https://github.com/rehlds/rehlds.git
synced 2024-12-29 08:05:50 +03:00
Fixes #471
This commit is contained in:
parent
5981a4c544
commit
8276436809
@ -1341,7 +1341,7 @@ bool Proxy::CheckChallenge(NetAddress *from, unsigned int challengeNumber)
|
|||||||
{
|
{
|
||||||
for (auto& it : m_Challenges)
|
for (auto& it : m_Challenges)
|
||||||
{
|
{
|
||||||
if (it.adr.Equal(from)) {
|
if (from->EqualBase(&it.adr)) {
|
||||||
if (it.challenge == challengeNumber) {
|
if (it.challenge == challengeNumber) {
|
||||||
return (m_SystemTime - it.time <= 40);
|
return (m_SystemTime - it.time <= 40);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user