Receive correct args on reconnect handler

This commit is contained in:
dpedu 2015-08-11 22:08:36 -07:00
parent 9cb4800dc8
commit c6e4ddedf5
1 changed files with 1 additions and 1 deletions

View File

@ -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.")