Server using correct webirc pass / user pass
authorDarren <darren@darrenwhitlen.com>
Mon, 1 Oct 2012 19:16:20 +0000 (20:16 +0100)
committerDarren <darren@darrenwhitlen.com>
Mon, 1 Oct 2012 19:16:20 +0000 (20:16 +0100)
server/irc-connection.js

index eade6a49195e2a2bfa2a614216e1f30559475120..fc18dabebd37dffed84f2c9d4a927ead11c60d91 100755 (executable)
@@ -69,10 +69,10 @@ module.exports.IRCConnection = IRCConnection;
 
 var connect_handler = function () {
     if (this.webirc) {
-        this.write('WEBIRC ' + webirc.pass + ' KiwiIRC ' + this.user.hostname + ' ' + this.user.address);
+        this.write('WEBIRC ' + this.webirc.pass + ' KiwiIRC ' + this.user.hostname + ' ' + this.user.address);
     }
     if (this.password) {
-        this.write('PASS ' + password);
+        this.write('PASS ' + this.password);
     }
     //this.write('CAP LS');
     this.write('NICK ' + this.nick);