Seen: Fix save Seen.any.db. (thanks to beo_ for the repport and the test)

This commit is contained in:
Valentin Lorentz 2011-04-03 14:45:33 +02:00
parent ad57b1c2ec
commit ab087f4b45

View File

@ -104,6 +104,7 @@ class Seen(callbacks.Plugin):
self.lastmsg = {} self.lastmsg = {}
self.ircstates = {} self.ircstates = {}
world.flushers.append(self.db.flush) world.flushers.append(self.db.flush)
world.flushers.append(self.anydb.flush)
def die(self): def die(self):
if self.db.flush in world.flushers: if self.db.flush in world.flushers: