mirror of
https://github.com/solero/houdini.git
synced 2024-11-09 12:48:20 +00:00
Fix error
This commit is contained in:
parent
f53de2546c
commit
da91f3f3ef
@ -7,7 +7,7 @@ from houdini.handlers.play.moderation import moderator_ban, moderator_kick
|
||||
|
||||
@handlers.boot
|
||||
async def filter_load(server):
|
||||
server.chat_filter_words = {w.lower(): c for w, c in await ChatFilterRuleCollection.get_collection().items()}
|
||||
server.chat_filter_words = {w.lower(): c for w, c in (await ChatFilterRuleCollection.get_collection()).items()}
|
||||
server.logger.info(f'Loaded {len(server.chat_filter_words)} filter words')
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user