mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-07 19:49:23 +01:00
Forgot to re-add the user/channel databases to the flushers.
This commit is contained in:
parent
1232cc06c8
commit
40e3c861c0
@ -514,7 +514,7 @@ class UsersDictionary(utils.IterableMap):
|
|||||||
def reload(self):
|
def reload(self):
|
||||||
"""Reloads the database from its file."""
|
"""Reloads the database from its file."""
|
||||||
if self.filename is not None:
|
if self.filename is not None:
|
||||||
self.nextId = 0
|
self.nextId = 1
|
||||||
self.users.clear()
|
self.users.clear()
|
||||||
try:
|
try:
|
||||||
self.open(self.filename)
|
self.open(self.filename)
|
||||||
@ -713,6 +713,9 @@ try:
|
|||||||
except EnvironmentError, e:
|
except EnvironmentError, e:
|
||||||
log.warning('Couldn\'t open channel database: %s', e)
|
log.warning('Couldn\'t open channel database: %s', e)
|
||||||
|
|
||||||
|
world.flushers.append(users.flush)
|
||||||
|
world.flushers.append(channels.flush)
|
||||||
|
|
||||||
|
|
||||||
###
|
###
|
||||||
# Useful functions for checking credentials.
|
# Useful functions for checking credentials.
|
||||||
|
Loading…
Reference in New Issue
Block a user