summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xfot.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/fot.py b/fot.py
index 6ed05c0..cd7b1ed 100755
--- a/fot.py
+++ b/fot.py
@@ -94,6 +94,9 @@ class Bot(irc.IRCClient):
self.modules = {}
irc.IRCClient.connectionLost(self, reason)
+ def reconnect(self):
+ self.quit('reconnecting')
+
class BotFactory(protocol.ReconnectingClientFactory):
protocol = Bot