From e9d19d2d5a8aac4d29288981ebeabf62b45cb318 Mon Sep 17 00:00:00 2001 From: kirch Date: Sun, 24 Feb 2019 06:19:02 +0000 Subject: [PATCH] Add debugging statement to plugin loader's blacklist. --- pinhook/bot.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pinhook/bot.py b/pinhook/bot.py index e803e92..66c579b 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -114,6 +114,7 @@ class Bot(irc.bot.SingleServerIRCBot): if name in self.whitelist and name not in self.blacklist: pass if name in self.blacklist and name not in self.whitelist: + self.logger.info('not loading blacklisted plugin {}'.format(name)) continue if name not in self.whitelist and name not in self.blacklist: self.whitelist.append(name)