From 459fed4f35de212cfd0217e8387e2d7f2c740fe2 Mon Sep 17 00:00:00 2001 From: Brendan Nee Date: Tue, 14 Feb 2012 16:10:55 -0500 Subject: [PATCH] Pass entire config object to IRC module to allow port, security and other settings to work. --- index.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/index.js b/index.js index 47700e0..c80b8fd 100644 --- a/index.js +++ b/index.js @@ -51,10 +51,7 @@ process.on('uncaughtException', function(e) { * Initialize bot. */ -var bot = new irc.Client(config.server, config.nickname, { - channels: config.channels - , debug: config.debug -}); +var bot = new irc.Client(config.server, config.nickname, config); bot.config = config; /**