From: Darren Date: Mon, 1 Oct 2012 19:16:20 +0000 (+0100) Subject: Server using correct webirc pass / user pass X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=473f68b4a40c640473663cd25f3e2b23533dbd0c;p=KiwiIRC.git Server using correct webirc pass / user pass --- diff --git a/server/irc-connection.js b/server/irc-connection.js index eade6a4..fc18dab 100755 --- a/server/irc-connection.js +++ b/server/irc-connection.js @@ -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);