mirror of
https://github.com/lumapu/ahoy.git
synced 2025-04-30 10:46:24 +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;
|
std::array<uint8_t, 4> ip;
|
||||||
ah::ip2Arr(static_cast<uint8_t*>(ip.data()), clientIp);
|
ah::ip2Arr(static_cast<uint8_t*>(ip.data()), clientIp);
|
||||||
for(uint8_t i = 0; i < 4; i++) {
|
for(uint8_t i = 0; i < 4; i++) {
|
||||||
if(mLoginIp[i] != ip[i]) {
|
if(mLoginIp[i] != ip[i])
|
||||||
DPRINTLN(DBG_INFO, "ip nicht gleich!");
|
|
||||||
return true;
|
return true;
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue