Skip to content

Commit e9d4b2d

Browse files
committed
Corrected push of $SYS
1 parent 85014db commit e9d4b2d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

homemon-server/homemon-server.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,8 @@ mqttclient.on('connect', function() {
121121
}
122122

123123
if (topic.beginsWith("$SYS/")) {
124-
io.sockets.in("mqttstats").emit('data', { topic: topic, value: message.toString() });
124+
io.sockets.in("mqttstats").emit('data', { topic: topic, value: message.toString() })
125+
return;
125126
}
126127

127128
if (topic.beginsWith("snmp")) {

0 commit comments

Comments
 (0)