mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 19:52:54 +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):
|
def die(self):
|
||||||
for log in self.logs.itervalues():
|
for log in self.logs.itervalues():
|
||||||
log.close()
|
log.close()
|
||||||
world.flushers.remove(self.flush)
|
if self.flush in world.flushers:
|
||||||
|
world.flushers.remove(self.flush)
|
||||||
|
|
||||||
def __call__(self, irc, msg):
|
def __call__(self, irc, msg):
|
||||||
try:
|
try:
|
||||||
|
Loading…
Reference in New Issue
Block a user