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:
parent
dfc427c192
commit
42c3ee430f
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user