From 40e3c861c02e796e60c07df1a9126a8fc6f7878d Mon Sep 17 00:00:00 2001 From: Jeremy Fincher Date: Tue, 3 Feb 2004 04:10:22 +0000 Subject: [PATCH] Forgot to re-add the user/channel databases to the flushers. --- src/ircdb.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/ircdb.py b/src/ircdb.py index 5dd5bbcb0..481914bef 100644 --- a/src/ircdb.py +++ b/src/ircdb.py @@ -514,7 +514,7 @@ class UsersDictionary(utils.IterableMap): def reload(self): """Reloads the database from its file.""" if self.filename is not None: - self.nextId = 0 + self.nextId = 1 self.users.clear() try: self.open(self.filename) @@ -712,6 +712,9 @@ try: channels.open(os.path.join(confDir,channelFile)) except EnvironmentError, e: log.warning('Couldn\'t open channel database: %s', e) + +world.flushers.append(users.flush) +world.flushers.append(channels.flush) ###