From c6e4ddedf547097ac7271f536e137618e257a8ff Mon Sep 17 00:00:00 2001 From: dpedu Date: Tue, 11 Aug 2015 22:08:36 -0700 Subject: [PATCH] Receive correct args on reconnect handler --- pyircbot/pyircbot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyircbot/pyircbot.py b/pyircbot/pyircbot.py index 5232f93..caba74f 100644 --- a/pyircbot/pyircbot.py +++ b/pyircbot/pyircbot.py @@ -77,7 +77,7 @@ class PyIRCBot: sys.exit(0) - def connection_closed(self): + def connection_closed(self, args, prefix, trailing): """Called when the socket is disconnected. We will want to reconnect. """ if self.alive: self.log.warning("Connection was lost. Reconnecting in 5 seconds.")