Let's play it safe.

This commit is contained in:
Jeremy Fincher 2004-01-30 06:05:32 +00:00
parent c9787b29f7
commit 6362a02cd1

View File

@ -60,7 +60,8 @@ class ChannelLogger(irclib.IrcCallback):
def die(self):
for log in self.logs.itervalues():
log.close()
world.flushers.remove(self.flush)
if self.flush in world.flushers:
world.flushers.remove(self.flush)
def __call__(self, irc, msg):
try: