From: Christian Heller Date: Wed, 26 May 2021 16:52:26 +0000 (+0200) Subject: Fix variable name. X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/blog?a=commitdiff_plain;h=920a2af71ebc064d5c0ae8b1700814a63ab4f6c1;p=plomlombot-irc.git Fix variable name. --- diff --git a/plomlombot.py b/plomlombot.py index 1128eff..0e02f1c 100755 --- a/plomlombot.py +++ b/plomlombot.py @@ -490,7 +490,7 @@ class Session: self.io.send_line("USER " + username + " 0 * : ") if sasl: self.io.send_line("AUTHENTICATE PLAIN") - auth = username + '\0' + username + '\0' + password + auth = username + '\0' + username + '\0' + sasl auth_encoded = base64.b64encode(auth.encode()).decode().rstrip() self.io.send_line("AUTHENTICATE " + auth_encoded) self.io.send_line("CAP END")