mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-18 14:40:51 +01:00
Fix previous commit (yet again)
This commit is contained in:
parent
66e46e5143
commit
4170a873b2
@ -908,7 +908,8 @@ class Irc(IrcCommandDispatcher):
|
|||||||
else:
|
else:
|
||||||
auth_string = base64.b64encode(('%s\x00%s\x00%s' %
|
auth_string = base64.b64encode(('%s\x00%s\x00%s' %
|
||||||
(self.sasl_username, self.sasl_username,
|
(self.sasl_username, self.sasl_username,
|
||||||
self.sasl_password)).encode('utf-8'))
|
self.sasl_password)).encode('utf-8')).decode(
|
||||||
|
'utf-8')
|
||||||
log.debug('Sending CAP REQ command, requesting capability \'sasl\'.')
|
log.debug('Sending CAP REQ command, requesting capability \'sasl\'.')
|
||||||
self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('REQ', 'sasl')))
|
self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('REQ', 'sasl')))
|
||||||
log.debug('Sending AUTHENTICATE command, using mechanism PLAIN.')
|
log.debug('Sending AUTHENTICATE command, using mechanism PLAIN.')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user