Fix USERPREFS_EVENT_MODE compile error (#6408)

This commit is contained in:
Austin
2025-03-28 06:31:24 -05:00
committed by GitHub
co-authored by GitHub
parent 1e41c994b3
commit 4e1030ef9c
+1 -1
View File
@@ -347,7 +347,7 @@ bool Channels::anyMqttEnabled()
{
#if USERPREFS_EVENT_MODE
// Don't publish messages on the public MQTT broker if we are in event mode
if (mqtt && mqtt.isUsingDefaultServer()) {
if (mqtt && mqtt->isUsingDefaultServer()) {
return false;
}
#endif