Changed some logging messages.

This commit is contained in:
Jeremy Fincher 2003-12-09 04:46:51 +00:00
parent e770054717
commit 4c64ffb4c7

View File

@ -611,10 +611,10 @@ class Irc(IrcCommandDispatcher):
# This keeps our nick and server attributes updated.
if msg.command in self._nickSetters:
if msg.args[0] != self.nick:
log.info('Nick attribute wasn\'t updated.')
log.info('Updating nick attribute.')
self.nick = msg.args[0]
if msg.prefix != self.server:
log.info('Server attribute wasn\'t updated.')
log.info('Updating server attribute.')
self.server = msg.prefix
# Dispatch to specific handlers for commands.