mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-02-02 15:44:06 +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))
|
self.queueMsg(ircmsgs.user(self.ident, self.user))
|
||||||
|
|
||||||
def do903(self, msg):
|
def do903(self, msg):
|
||||||
log.info('SASL authentication successful')
|
log.info('%s: SASL authentication successful' % self.network)
|
||||||
log.debug('Sending CAP END command.')
|
log.debug('Sending CAP END command.')
|
||||||
self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('END',)))
|
self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('END',)))
|
||||||
|
|
||||||
def do904(self, msg):
|
def do904(self, msg):
|
||||||
log.warning('SASL authentication failed')
|
log.warning('%s: SASL authentication failed' % self.network)
|
||||||
log.debug('Aborting authentication.')
|
log.debug('Aborting authentication.')
|
||||||
log.debug('Sending CAP END command.')
|
log.debug('Sending CAP END command.')
|
||||||
self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('END',)))
|
self.queueMsg(ircmsgs.IrcMsg(command="CAP", args=('END',)))
|
||||||
|
Loading…
Reference in New Issue
Block a user