Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions lib/irc.js
Original file line number Diff line number Diff line change
Expand Up @@ -597,9 +597,14 @@ function Client(server, nick, opt) {

// for sasl
case 'CAP':
if (message.args[0] === '*' &&
message.args[1] === 'ACK' &&
message.args[2] === 'sasl ') // there's a space after sasl
// if we are debug, log output from the server
if (self.opt.debug) {
util.log(message.args[0] + '-')
util.log(message.args[1] + '-')
util.log(message.args[2] + '-')
}
if (message.args[1] === 'ACK' &&
message.args[2] === 'sasl')
self.send('AUTHENTICATE', 'PLAIN');
break;
case 'AUTHENTICATE':
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"Chris Nehren <cnehren@pobox.com>",
"Henri Niemeläinen <aivot-on@iki.fi>",
"Alex Miles <ghostaldev@gmail.com>",
"Simmo Saan <simmo.saan@gmail.com>"
"Simmo Saan <simmo.saan@gmail.com>",
"Nick Silkey <nick@silkey.org>"
],
"repository": {
"type": "git",
Expand Down