Fix an exception. There may be a better way to fix this (jemfinch), but

this will at least stop the exceptions.
This commit is contained in:
James Vega 2004-12-29 14:20:00 +00:00
parent 6d2a52613b
commit 82a055c466

View File

@ -50,7 +50,8 @@ class RawLogger(irclib.IrcCallback):
world.flushers.append(self._flush)
def die(self):
world.flushers.remove(self._flush)
if self._flush in world.flushers:
world.flushers.remove(self._flush)
self.fd.close()
def inFilter(self, irc, msg):