From: Jack Allnutt Date: Thu, 8 Nov 2012 02:00:02 +0000 (+0000) Subject: Fix some minor issues X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=3dd5ff0a0cd17aace5795cb00b968139f35d7905;p=KiwiIRC.git Fix some minor issues --- 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;