aboutsummaryrefslogtreecommitdiff
path: root/IRCLineHandler.py
diff options
context:
space:
mode:
authorGravatar jesopo2018-08-31 10:33:53 +0100
committerGravatar jesopo2018-08-31 10:33:53 +0100
commita31ee247aa87bcff99ccea9db21927808a9c45ee (patch)
tree17724bcc8affc0dc218ec07f004e1f46c79a3936 /IRCLineHandler.py
parentuse assure_call for trakt.py and lastfm.py (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)