From ca502c6814fb39331ab8644b4673ae6365fa7953 Mon Sep 17 00:00:00 2001 From: nyuszika7h Date: Tue, 13 Sep 2011 19:55:01 +0200 Subject: [PATCH] irclib.py: Added network name to SASL authentication success/fail. --- src/irclib.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/irclib.py b/src/irclib.py index b7dc0f648..174758699 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -900,12 +900,12 @@ class Irc(IrcCommandDispatcher): self.queueMsg(ircmsgs.user(self.ident, self.user)) def do903(self, msg): - log.info('SASL authentication successful') + log.info('%s: SASL authentication successful' % self.network) log.debug('Sending CAP END command.') self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('END',))) def do904(self, msg): - log.warning('SASL authentication failed') + log.warning('%s: SASL authentication failed' % self.network) log.debug('Aborting authentication.') log.debug('Sending CAP END command.') self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('END',)))