FIX: Don't default to having ignored channels being an integer

This commit is contained in:
Firepup Sixfifty 2024-04-11 21:24:39 -05:00
parent b356bfb19b
commit 90e59f9868
Signed by: Firepup650
GPG key ID: 7C92E2ABBBFAB9BA

2
bot.py
View file

@ -38,7 +38,7 @@ class bot(bare.bot):
self.ignores = ( self.ignores = (
conf.servers[server]["ignores"] conf.servers[server]["ignores"]
if "ignores" in conf.servers[server] if "ignores" in conf.servers[server]
else 6667 else []
) )
self.__version__ = conf.__version__ self.__version__ = conf.__version__
self.npallowed = conf.npallowed self.npallowed = conf.npallowed