mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 03:33:11 +01:00
Let's play it safe.
This commit is contained in:
parent
c9787b29f7
commit
6362a02cd1
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user