home
·
contact
·
privacy
projects
/
plomlombot-irc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0f96156
)
Fix variable name.
author
Christian Heller
<c.heller@plomlompom.de>
Wed, 26 May 2021 16:52:26 +0000
(18:52 +0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Wed, 26 May 2021 16:52:26 +0000
(18:52 +0200)
plomlombot.py
patch
|
blob
|
history
diff --git
a/plomlombot.py
b/plomlombot.py
index 1128eff61c757451ac80968dd74a1becfb85eed2..0e02f1c6dd426b60a380e8cb14dd02b43e992424 100755
(executable)
--- 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")