X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=server%2Firc%2Fconnection.js;h=b9c130586a3596ba527d5fb44c97ccb2925b5a09;hb=6ca73220940c51035d6e1114b4e2b136a271e4b0;hp=28e6519d9d20608f5decc5374d3562d58664e4c5;hpb=7dfe47c67006a9a4817e088ea43686a91f47f9d8;p=KiwiIRC.git diff --git a/server/irc/connection.js b/server/irc/connection.js index 28e6519..b9c1305 100644 --- a/server/irc/connection.js +++ b/server/irc/connection.js @@ -111,7 +111,7 @@ IrcConnection.prototype.register = function () { clearTimeout(this.registeration_timeout); this.registration_timeout = null; } - if ((this.password) && (!_.contains(this.cap.enabled, 'sasl'))) { + if ((this.password) && (!this.sasl)) { this.write('PASS ' + this.password); } this.write('NICK ' + this.nick);