mirror of https://gitlab.com/gpvkt/twitchtts.git
Fixed: Key error when blacklist is active
This commit is contained in:
parent
420cfc7e1b
commit
10fb75e19a
2
tts.py
2
tts.py
|
@ -475,7 +475,7 @@ class IRC:
|
||||||
:return bool:
|
:return bool:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
if user in self.tts['denied']:
|
if user in self.tts['blacklist']:
|
||||||
logging.info("%s is not allowed to use TTS", user)
|
logging.info("%s is not allowed to use TTS", user)
|
||||||
self.sendmsg(
|
self.sendmsg(
|
||||||
CONF['IRC_CHANNEL'],
|
CONF['IRC_CHANNEL'],
|
||||||
|
|
Loading…
Reference in New Issue