diff --git a/pinhook/bot.py b/pinhook/bot.py index 766bd40..a69d6d7 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -169,7 +169,7 @@ class Bot(irc.bot.SingleServerIRCBot): except Exception as e: self.logger.exception('issue with command {}'.format(cmd)) else: - for lstnr in pinhook.plugin.listnrs: + for lstnr in pinhook.plugin.lstnrs: try: output = pinhook.plugin.lstnrs[lstnr](self.Message( channel=chan,