From 3dd5ff0a0cd17aace5795cb00b968139f35d7905 Mon Sep 17 00:00:00 2001 From: Jack Allnutt Date: Thu, 8 Nov 2012 02:00:02 +0000 Subject: [PATCH] Fix some minor issues --- server/irc/commands.js | 1 - server/irc/connection.js | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server/irc/commands.js b/server/irc/commands.js index 3b67aeb..83ad5d1 100644 --- a/server/irc/commands.js +++ b/server/irc/commands.js @@ -42,7 +42,6 @@ var irc_numerics = { RPL_SASLAUTHENTICATED: '900', RPL_SASLLOGGEDIN: '903', ERR_SASLNOTAUTHORISED: '904', - ERR_SASLNOTAUTHORISED: '905', ERR_SASLABORTED: '906', ERR_SASLALREADYAUTHED: '907' diff --git a/server/irc/connection.js b/server/irc/connection.js index f1c147e..53a4dad 100644 --- a/server/irc/connection.js +++ b/server/irc/connection.js @@ -105,7 +105,7 @@ var connect_handler = function () { this.write('CAP LS'); this.registration_timeout = setTimeout(function () { - that.register.call(that); + that.register(); }, 1000); this.connected = true; -- 2.25.1