aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)