From bb43dd31a01c738bb9e43d5934e3d227cf389ea7 Mon Sep 17 00:00:00 2001 From: Darrell Taylor Date: Fri, 30 Oct 2015 18:47:13 +0000 Subject: [PATCH] username and password for irc-out as well --- social/irc/91-irc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/social/irc/91-irc.js b/social/irc/91-irc.js index 2fb6f617..ce95650d 100644 --- a/social/irc/91-irc.js +++ b/social/irc/91-irc.js @@ -200,7 +200,7 @@ module.exports = function(RED) { if (node.serverConfig.ircclient === null) { node.log(RED._("irc.errors.connect")+": "+node.serverConfig.server); node.status({fill:"grey",shape:"dot",text:"node-red:common.status.connecting"}); - var options = {autoConnect:true,autoRejoin:false,floodProtection:true,secure:node.serverConfig.ssl,selfSigned:node.serverConfig.cert,port:node.serverConfig.port,retryDelay:20000,userName:node.username,password:node.password}; + var options = {autoConnect:true,autoRejoin:false,floodProtection:true,secure:node.serverConfig.ssl,selfSigned:node.serverConfig.cert,port:node.serverConfig.port,retryDelay:20000,userName:node.serverConfig.username,password:node.serverConfig.password}; node.serverConfig.ircclient = new irc.Client(node.serverConfig.server, node.serverConfig.nickname, options); node.serverConfig.ircclient.setMaxListeners(0); node.serverConfig.ircclient.addListener('error', function(message) {