Merge pull request #300 from nyuszika7h/testing

irclib.py: Add network name to 'Outgoing message' debug log message
This commit is contained in:
Valentin Lorentz 2011-12-28 02:41:49 -08:00
commit 1266debdd3

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