From 91e816e9413f5c3750d2ae0dbfea6f425e57d45f Mon Sep 17 00:00:00 2001 From: lumapu Date: Thu, 1 Feb 2024 23:46:39 +0100 Subject: [PATCH] 0.8.70 --- src/web/Protection.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/web/Protection.h b/src/web/Protection.h index d0c73a9e..710ba8b3 100644 --- a/src/web/Protection.h +++ b/src/web/Protection.h @@ -74,10 +74,8 @@ class Protection { std::array ip; ah::ip2Arr(static_cast(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;