Not self.log, foos.

This commit is contained in:
Jeremy Fincher 2004-08-20 03:45:58 +00:00
parent e844d9c943
commit 4e10d65b56

View File

@ -548,14 +548,14 @@ class Irc(IrcCommandDispatcher):
if not self.zombie:
self.queue.enqueue(msg)
else:
self.log.warning('Refusing to queue %r; I\'m a zombie.', msg)
log.warning('Refusing to queue %r; I\'m a zombie.', msg)
def sendMsg(self, msg):
"""Queues a message to be sent to the server *immediately*"""
if not self.zombie:
self.fastqueue.enqueue(msg)
else:
self.log.warning('Refusing to send %r; I\'m a zombie.', msg)
log.warning('Refusing to send %r; I\'m a zombie.', msg)
def takeMsg(self):
"""Called by the IrcDriver; takes a message to be sent."""