From 2e2e35cad71a402b385c4814f48255069be24c58 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Sat, 21 Apr 2018 15:05:32 +0100 Subject: [PATCH] Fix yet another typo --- core/bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/bot.py b/core/bot.py index 60eeb8c..68250a8 100644 --- a/core/bot.py +++ b/core/bot.py @@ -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)