irclib.py: Add network name to 'Outgoing message' debug log message

This commit is contained in:
nyuszika7h 2011-12-28 11:37:10 +01:00
parent fc3d3e6c01
commit c656abf096

View File

@ -764,7 +764,7 @@ class Irc(IrcCommandDispatcher):
# On second thought, we need this for testing.
if world.testing:
self.state.addMsg(self, msg)
log.debug('Outgoing message: %s', str(msg).rstrip('\r\n'))
log.debug('Outgoing message (%s): %s', self.network, str(msg).rstrip('\r\n'))
return msg
elif self.zombie:
# We kill the driver here so it doesn't continue to try to