# HG changeset patch # User Matthew Wild # Date 1671229847 0 # Node ID d2a84e6aed2b48156e0c859543da1311d9960b71 # Parent 85a7304cfea1f6ce8f0d966645eea858f7cd5aa4 mod_pubsub_mqtt: Switch to MQTT 3.1.1 Well that was easy. diff -r 85a7304cfea1 -r d2a84e6aed2b mod_pubsub_mqtt/mqtt.lib.lua --- a/mod_pubsub_mqtt/mqtt.lib.lua Fri Dec 16 22:16:45 2022 +0000 +++ b/mod_pubsub_mqtt/mqtt.lib.lua Fri Dec 16 22:30:47 2022 +0000 @@ -54,7 +54,7 @@ until bit.band(digit, 0x80) == 0; packet.length = length; if packet.type == "connect" then - if self:read_string() ~= "MQIsdp" then + if self:read_string() ~= "MQTT" then module:log("warn", "Unexpected packet signature!"); packet.type = nil; -- Invalid packet else