From 5ad1a2bbfe284ae96c1d4dceb5b61915b21e7acb Mon Sep 17 00:00:00 2001 From: Jan Philipp Timme Date: Tue, 20 Oct 2015 17:50:24 +0200 Subject: [PATCH] Revert "[TASK] Trying to fix the bots reconnect thing." This reverts commit ed9e5aaab66c4927c22fb1fee092d7026406c869. --- fdskun.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fdskun.py b/fdskun.py index 1b07df8..9992119 100644 --- a/fdskun.py +++ b/fdskun.py @@ -16,11 +16,11 @@ class MonitorBot(irc.IRCClient): self.nickname = nickname def connectionMade(self): - self.factory.connectionMade(self) + irc.IRCClient.connectionMade(self) print("[connected at %s]" % time.asctime(time.localtime(time.time()))) def connectionLost(self, reason): - self.factory.connectionLost(self, reason) + irc.IRCClient.connectionLost(self, reason) print("[disconnected at %s]" % time.asctime(time.localtime(time.time()))) # callbacks for events