Fix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs

This commit is contained in:
jesopo 2018-08-31 10:33:53 +01:00
parent d52037a6a3
commit a31ee247aa

View file

@ -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)