Fix invalid rule handling

This commit is contained in:
Theo Arends 2024-04-15 17:25:11 +02:00
parent cad288bd0d
commit ecf2504edf

View File

@ -918,8 +918,11 @@ bool RulesProcessEvent(const char *json_event)
}
bool RulesProcess(void) {
if ((Settings->rule_enabled || BERRY_RULES) && !Rules.busy) { // Any rule enabled
return RulesProcessEvent(XdrvMailbox.data);
}
return true;
}
void RulesInit(void)
{