node-irc icon indicating copy to clipboard operation
node-irc copied to clipboard

Update irc.js for SASL auth against inspircd/anope

Open jmcparland opened this issue 4 years ago • 0 comments

As is, SASL authentication fails against InspIRCd 3.10.0 & Anope 2.0.9 (FreeBSD). Checking the arguments in the CAP message, arg 2 presents as 'sasl' without a trailing space. In this particular case, removing the space allows successful authentication. Checking that the string.startsWith('sasl') presumably handles both cases without introducing much risk. [Alternatively, we can check against both strings explicitly.]

jmcparland avatar Nov 04 '21 12:11 jmcparland