Fix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs
This commit is contained in:
parent
d52037a6a3
commit
a31ee247aa
1 changed files with 1 additions and 1 deletions
|
@ -37,7 +37,7 @@ class LineHandler(object):
|
||||||
default_event=True)
|
default_event=True)
|
||||||
|
|
||||||
bot.events.on("raw").on("JOIN").hook(self.join)
|
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("QUIT").hook(self.quit)
|
||||||
bot.events.on("raw").on("NICK").hook(self.nick)
|
bot.events.on("raw").on("NICK").hook(self.nick)
|
||||||
bot.events.on("raw").on("MODE").hook(self.mode)
|
bot.events.on("raw").on("MODE").hook(self.mode)
|
||||||
|
|
Loading…
Reference in a new issue