Fix some minor issues
authorJack Allnutt <m2ys4u@Gmail.com>
Thu, 8 Nov 2012 02:00:02 +0000 (02:00 +0000)
committerJack Allnutt <m2ys4u@Gmail.com>
Thu, 8 Nov 2012 02:00:02 +0000 (02:00 +0000)
server/irc/commands.js
server/irc/connection.js

index 3b67aeb25180535e2fe4767a04874959a07c4793..83ad5d18758d896c496f6112b61282a01ddd147f 100644 (file)
@@ -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'
     
index f1c147ece81800e931dea0b9dce5be939f7fb21d..53a4dad19a3493d7ea81321fbc54ea439aaeb6df 100644 (file)
@@ -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;