From bc5e08ead3feb6222cd2a9b40799247ed94771c4 Mon Sep 17 00:00:00 2001 From: jesopo Date: Fri, 31 Aug 2018 10:33:53 +0100 Subject: [PATCH] Fix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs --- IRCLineHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IRCLineHandler.py b/IRCLineHandler.py index 4ed9cb3b..1deadb3b 100644 --- a/IRCLineHandler.py +++ b/IRCLineHandler.py @@ -37,7 +37,7 @@ class LineHandler(object): default_event=True) bot.events.on("raw").on("JOIN").hook(self.join) - bot.events.on("raw").on("PART").hook(self.quit) + bot.events.on("raw").on("PART").hook(self.part) bot.events.on("raw").on("QUIT").hook(self.quit) bot.events.on("raw").on("NICK").hook(self.nick) bot.events.on("raw").on("MODE").hook(self.mode)