src/irclib.py: remove some errors

This commit is contained in:
nyuszika7h 2014-07-18 16:58:41 +02:00 committed by Valentin Lorentz
parent 7e84b534cc
commit 32e3be3dac
1 changed files with 0 additions and 8 deletions

View File

@ -958,10 +958,6 @@ class Irc(IrcCommandDispatcher):
]).encode('utf-8')).decode('utf-8')
self.queueMsg(ircmsgs.IrcMsg(command='AUTHENTICATE', args=(authstring,)))
else:
log.error('%s: Unexpected response from server: %s',
self.network, msg)
self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('END',)))
def doCap(self, msg):
if msg.args[2] == 'sasl':
@ -974,10 +970,6 @@ class Irc(IrcCommandDispatcher):
log.warning("%s: Server refused 'sasl' capability",
self.network)
self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('END',)))
else:
log.error('%s: Unexpected response from server: %s',
self.network, msg)
self.queueMsg(ircmsgs.IrcMsg(command='CAP', args=('END',)))
def do903(self, msg):
log.info('%s: SASL authentication successful', self.network)