From 4b10ea3329442f3426ca19c02febc8536b160ec3 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Sun, 3 Feb 2013 15:14:03 +0100 Subject: [PATCH] Fix previous commit --- src/irclib.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/irclib.py b/src/irclib.py index 8b1898424..0342214c1 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -906,9 +906,9 @@ class Irc(IrcCommandDispatcher): if not self.sasl_username: log.error('SASL username is not set, unable to identify.') else: - auth_string = - base64.b64encode('%s\x00%s\x00%s'.encode('utf-8') % (self.sasl_username, - self.sasl_username, self.sasl_password)) + auth_string = base64.b64encode('%s\x00%s\x00%s'.encode( + 'utf-8') % (self.sasl_username, self.sasl_username, + self.sasl_password)) log.debug('Sending CAP REQ command, requesting capability \'sasl\'.') self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('REQ', 'sasl'))) log.debug('Sending AUTHENTICATE command, using mechanism PLAIN.')