From b5ad2ed25cce08ba7979385abff23afb5373e392 Mon Sep 17 00:00:00 2001 From: Darren Date: Sat, 28 Sep 2013 14:18:09 +0100 Subject: [PATCH] New IRC connection - don't send redundant con_num to client on connection error --- server/irc/state.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/irc/state.js b/server/irc/state.js index f8b7ca9..7a0d385 100755 --- a/server/irc/state.js +++ b/server/irc/state.js @@ -66,7 +66,7 @@ State.prototype.connect = function (hostname, port, ssl, nick, user, options, ca con.on('error', function IrcConnectionError(err) { console.log('irc_connection error (' + hostname + '):', err); - return callback(err.code, {server: con_num, error: err}); + return callback(err.code); }); con.on('close', function IrcConnectionClose() { -- 2.25.1