mqtt_lua icon indicating copy to clipboard operation
mqtt_lua copied to clipboard

fix arithmetic on a nil value error when subscribing to topic $SYS/broker/clients/connected

Open rnlaigner opened this issue 5 years ago • 0 comments

An error occurs in the context of clients subscribing to topic "$SYS/broker/clients/connected" in mosquitto server.

Verifying if the byte value (string.byte(message, index + 1)) is not nil is enough to avoid the error and subsequent program termination.

rnlaigner avatar Jun 05 '19 23:06 rnlaigner