1
0
mirror of https://github.com/node-red/node-red.git synced 2023-10-10 13:36:53 +02:00

Slight tweak to IRC status updates to clear on start.

This commit is contained in:
Dave C-J 2014-08-30 13:24:09 +01:00
parent dfc427c192
commit 42c3ee430f

View File

@ -49,6 +49,7 @@ module.exports = function(RED) {
node.log(JSON.stringify(message)); node.log(JSON.stringify(message));
}); });
} }
else { node.status({text:""}); }
node.ircclient = node.serverConfig.ircclient; node.ircclient = node.serverConfig.ircclient;
@ -123,6 +124,7 @@ module.exports = function(RED) {
node.log(JSON.stringify(message)); node.log(JSON.stringify(message));
}); });
} }
else { node.status({text:""}); }
node.ircclient = node.serverConfig.ircclient; node.ircclient = node.serverConfig.ircclient;
node.ircclient.addListener('registered', function(message) { node.ircclient.addListener('registered', function(message) {