aboutsummaryrefslogtreecommitdiff
path: root/IRCLineHandler.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-31 10:33:53 +0100
committerGravatar dongfix2018-08-31 10:35:07 +0100
commitbc5e08ead3feb6222cd2a9b40799247ed94771c4 (patch)
tree6832c146a15879df292d265083bfe5795cbdfa69 /IRCLineHandler.py
parentA start on .decoy for ducks. (diff)
signature
Fix a copy paste fail in IRCLineHandler that caused PARTs to be handled as QUITs
Diffstat (limited to 'IRCLineHandler.py')
-rw-r--r--IRCLineHandler.py2
1 files changed, 1 insertions, 1 deletions
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)