Fixed: Key error when blacklist is active

This commit is contained in:
gpkvt 2022-10-28 19:14:10 +02:00
parent 420cfc7e1b
commit 10fb75e19a
2 changed files with 1 additions and 1 deletions

BIN
tts.exe

Binary file not shown.

2
tts.py
View File

@ -475,7 +475,7 @@ class IRC:
:return bool:
"""
if user in self.tts['denied']:
if user in self.tts['blacklist']:
logging.info("%s is not allowed to use TTS", user)
self.sendmsg(
CONF['IRC_CHANNEL'],