Fix USERPREFS_EVENT_MODE compile error (#6408)

This commit is contained in:
Austin 2025-03-28 07:31:24 -04:00 committed by GitHub
parent 1e41c994b3
commit 4e1030ef9c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

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