Skip to content

Commit

Permalink
0.8.70
Browse files Browse the repository at this point in the history
  • Loading branch information
lumapu committed Feb 1, 2024
1 parent 9065ff5 commit 91e816e
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/web/Protection.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 91e816e

Please sign in to comment.