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
1 changed files with 2 additions and 0 deletions

View File

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