mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-06 15:59:52 +03:00
fix change-check
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user