Fix typo in ircbot reconnect method.

This commit is contained in:
Griatch 2016-11-17 16:23:33 +01:00
parent a20e7d017d
commit f7f1037441

View file

@ -313,7 +313,7 @@ class IRCBotFactory(protocol.ReconnectingClientFactory):
reason (str): The reason for the failure.
"""
if not self.bot.stopping:
if not (self.bot or self.bot.stopping):
self.retry(connector)
def start(self):