mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-29 10:16:21 +02:00
0.8.70
This commit is contained in:
parent
9065ff5b98
commit
91e816e941
1 changed files with 1 additions and 3 deletions
|
@ -74,10 +74,8 @@ class Protection {
|
|||
std::array<uint8_t, 4> ip;
|
||||
ah::ip2Arr(static_cast<uint8_t*>(ip.data()), clientIp);
|
||||
for(uint8_t i = 0; i < 4; i++) {
|
||||
if(mLoginIp[i] != ip[i]) {
|
||||
DPRINTLN(DBG_INFO, "ip nicht gleich!");
|
||||
if(mLoginIp[i] != ip[i])
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
||||
return false;
|
||||
|
|
Loading…
Add table
Reference in a new issue