mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-10 12:59:22 +01:00
Added some little bit of extra logging.
This commit is contained in:
parent
dda4d61421
commit
57ec45e728
@ -583,6 +583,7 @@ class Irc(IrcCommandDispatcher):
|
|||||||
self.outstandingPing = False
|
self.outstandingPing = False
|
||||||
|
|
||||||
def do376(self, msg):
|
def do376(self, msg):
|
||||||
|
log.info('Got end of MOTD from %s', self.server)
|
||||||
self.afterConnect = True
|
self.afterConnect = True
|
||||||
do377 = do422 = do376
|
do377 = do422 = do376
|
||||||
|
|
||||||
@ -590,6 +591,7 @@ class Irc(IrcCommandDispatcher):
|
|||||||
"""Handles 'nickname already in use' messages."""
|
"""Handles 'nickname already in use' messages."""
|
||||||
if self.nick != self.originalNick:
|
if self.nick != self.originalNick:
|
||||||
newNick = self.nickmods.next() % self.originalNick
|
newNick = self.nickmods.next() % self.originalNick
|
||||||
|
log.info('Got 433: %s is in use. Trying %s.', self.nick, newNick)
|
||||||
self.sendMsg(ircmsgs.nick(newNick))
|
self.sendMsg(ircmsgs.nick(newNick))
|
||||||
do432 = do433
|
do432 = do433
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user