Skip to content

Commit 83974bd

Browse files
authored
Merge pull request #2190 from sopel-irc/sasl-abort-backport
coretasks: backport SASL abort from #2187 Can [skip ci] to save the build credits; PR+HEAD already tested.
2 parents 91652f0 + 2d07271 commit 83974bd

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

sopel/coretasks.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1045,6 +1045,10 @@ def auth_proceed(bot, trigger):
10451045
"""
10461046
if trigger.args[0] != '+':
10471047
# How did we get here? I am not good with computer.
1048+
LOGGER.warning("Aborting SASL: unexpected server reply '%s'" % trigger)
1049+
# Send `authenticate-abort` command
1050+
# See https://ircv3.net/specs/extensions/sasl-3.1#the-authenticate-command
1051+
bot.write(('AUTHENTICATE', '*'))
10481052
return
10491053
# Is this right?
10501054
if bot.config.core.auth_method == 'sasl':

0 commit comments

Comments
 (0)