Fix yet another typo

This commit is contained in:
Mark Veidemanis 2018-04-21 15:05:32 +01:00
parent 66d4501303
commit 2e2e35cad7
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ class IRCBotFactory(ReconnectingClientFactory):
error = reason.getErrorMessage()
log("%s: connection failed: %s" % (self.name, error))
sendAll("%s: connection failed: %s" % (self.name, error))
if config["ConnectionNotifications"]:
if main.config["ConnectionNotifications"]:
keyword.sendMaster("CONNFAIL %s: %s" % (self.name, error))
self.retry(connector)
#ReconnectingClientFactory.clientConnectionFailed(self, connector, reason)