mirror of
https://github.com/arendst/Tasmota.git
synced 2025-07-24 19:26:37 +00:00
Better bailout
This commit is contained in:
parent
dca33c10a3
commit
c6355e02fb
@ -1171,7 +1171,7 @@ bool RulesMqttData(void) {
|
|||||||
XdrvMailbox.data = (char*)data;
|
XdrvMailbox.data = (char*)data;
|
||||||
XdrvMailbox.data_len = data_len;
|
XdrvMailbox.data_len = data_len;
|
||||||
*/
|
*/
|
||||||
if (XdrvMailbox.data_len < 1) {
|
if ((XdrvMailbox.data_len < 1) || (subscriptions.isEmpty())) {
|
||||||
return false; // Process unchanged data
|
return false; // Process unchanged data
|
||||||
}
|
}
|
||||||
bool serviced = false;
|
bool serviced = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user