Skip to content

Commit

Permalink
Handle blank-vs-null mqlight share
Browse files Browse the repository at this point in the history
  • Loading branch information
knolleary committed Oct 10, 2014
1 parent c30b77f commit 1d39e93
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mqlight/mqlight.js
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,8 @@ module.exports = function(RED) {
node.send(msg);
});
node.log("Subscribing to "+node.topic+(node.share?+" ["+node.share+"]":""));
recvClient.subscribe(node.topic, function(err) {
node.log("Node share: ["+node.share+"]");
recvClient.subscribe(node.topic, node.share, function(err) {
if (err) {
node.error("Failed to subscribe: " + err);
} else {
Expand Down

0 comments on commit 1d39e93

Please sign in to comment.