Skip to content

Commit

Permalink
Merge pull request #2191 from sopel-irc/sasl-abort-logging
Browse files Browse the repository at this point in the history
coretasks: emit log entry if SASL auth aborts
  • Loading branch information
dgw authored Oct 26, 2021
2 parents b8fec20 + 12ff2c0 commit 369b3d4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sopel/coretasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -1067,6 +1067,7 @@ def auth_proceed(bot, trigger):
return
else:
# Not an expected response from the server
LOGGER.warning("Aborting SASL: unexpected server reply '%s'" % trigger)
# Send `authenticate-abort` command
# See https://ircv3.net/specs/extensions/sasl-3.1#the-authenticate-command
bot.write(('AUTHENTICATE', '*'))
Expand Down

0 comments on commit 369b3d4

Please sign in to comment.