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

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
This commit is contained in:
Valentin Lorentz 2011-04-03 14:45:33 +02:00 committed by Daniel Folkinshteyn
parent c25db0ecdf
commit da5b2b35e2

View File

@ -102,6 +102,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: