mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-01-23 10:34:19 +01:00
irclib.py: Added network name to SASL authentication success/fail.
This commit is contained in:
parent
c8c2f125a1
commit
ca502c6814
@ -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',)))
|
||||
|
Loading…
Reference in New Issue
Block a user