From 915ab813c6efbd809344b16a6463c70de0acb13e Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Fri, 10 Sep 2004 07:28:07 +0000 Subject: [PATCH] Wow, this was some of the most broken code EVAR. --- plugins/ChannelLogger.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/ChannelLogger.py b/plugins/ChannelLogger.py index 404f7647a..f511b69b5 100644 --- a/plugins/ChannelLogger.py +++ b/plugins/ChannelLogger.py @@ -108,7 +108,8 @@ class ChannelLogger(callbacks.Privmsg): for log in self.logs.itervalues(): log.close() world.flushers = [x for x in world.flushers - if hasattr(x, 'im_class') and x.im_class == self] + if hasattr(x, 'im_class') and + x.im_class is not self.__class__] def __call__(self, irc, msg): try: