Skip to content

Commit

Permalink
Merge pull request #1976 from Exirel/core-fix-sasl-auth-token
Browse files Browse the repository at this point in the history
core: fix invalid usage of r-string for SASL auth token
  • Loading branch information
dgw authored Oct 31, 2020
2 parents 5002183 + fcd8365 commit 846b126
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/coretasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ def auth_proceed(bot, trigger):
else:
return
sasl_username = sasl_username or bot.nick
sasl_token = r'\0'.join((sasl_username, sasl_username, sasl_password))
sasl_token = '\x00'.join((sasl_username, sasl_username, sasl_password))
send_authenticate(bot, sasl_token)


Expand Down

0 comments on commit 846b126

Please sign in to comment.