diff options
-rwxr-xr-x | fot.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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 |