Fix logics.

This commit is contained in:
Griatch 2016-11-17 16:57:05 +01:00
parent f7f1037441
commit 433b888422

View file

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