From 736eee79df8c9dae836d9fb69858bed8708f8610 Mon Sep 17 00:00:00 2001 From: MichaelDvP Date: Wed, 14 Jul 2021 18:10:04 +0200 Subject: [PATCH] fix change-check --- src/web/WebSettingsService.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/web/WebSettingsService.cpp b/src/web/WebSettingsService.cpp index 2df431e26..6d96b781d 100644 --- a/src/web/WebSettingsService.cpp +++ b/src/web/WebSettingsService.cpp @@ -119,7 +119,7 @@ StateUpdateResult WebSettings::update(JsonObject & root, WebSettings & settings) String old_syslog_host = settings.syslog_host; settings.syslog_host = root["syslog_host"] | EMSESP_DEFAULT_SYSLOG_HOST; - if (old_syslog_host.equals(settings.syslog_host.c_str())) { + if (!old_syslog_host.equals(settings.syslog_host)) { add_flags(ChangeFlags::SYSLOG); }