diff --git a/src/web/Protection.h b/src/web/Protection.h index d0c73a9ee..710ba8b35 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;