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

Signed-off-by: Daniel Folkinshteyn <nanotube@users.sourceforge.net>
Signed-off-by: James McCoy <jamessan@users.sourceforge.net>
This commit is contained in:
Valentin Lorentz 2011-04-03 14:45:33 +02:00 committed by James McCoy
parent 854e086fa7
commit 8ded033410
1 changed files with 1 additions and 0 deletions

View File

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