From 3e9ad585a36c4e8a17c0720662bfec1c8c69d85a Mon Sep 17 00:00:00 2001 From: Mallory Hancock Date: Fri, 22 Feb 2019 13:33:39 -0800 Subject: [PATCH] possible solution to issue --- pinhook/bot.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pinhook/bot.py b/pinhook/bot.py index 1a39598..2bb74c3 100644 --- a/pinhook/bot.py +++ b/pinhook/bot.py @@ -196,9 +196,9 @@ class Bot(irc.bot.SingleServerIRCBot): ops=self.ops, logger=self.logger )) - self.logger.debug(output.msg_type) - self.logger.debug(output.msg_type == pinhook.plugin.OutputType.Action) - self.logger.debug(output.msg) + self.logger.debug(listen_output.msg_type) + self.logger.debug(listen_output.msg_type == pinhook.plugin.OutputType.Action) + self.logger.debug(listen_output.msg) if listen_output: output = listen_output except Exception as e: