Added some little bit of extra logging.

This commit is contained in:
Jeremy Fincher 2004-02-20 06:11:24 +00:00
parent dda4d61421
commit 57ec45e728

View File

@ -583,6 +583,7 @@ class Irc(IrcCommandDispatcher):
self.outstandingPing = False
def do376(self, msg):
log.info('Got end of MOTD from %s', self.server)
self.afterConnect = True
do377 = do422 = do376
@ -590,6 +591,7 @@ class Irc(IrcCommandDispatcher):
"""Handles 'nickname already in use' messages."""
if self.nick != 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))
do432 = do433