Commit 41b87690 authored by Jean-Benoist Leger's avatar Jean-Benoist Leger

autojoin chans

parent 4227d4f8
......@@ -277,11 +277,13 @@ class MmBotFactory(protocol.ClientFactory):
return p
def clientConnectionLost(self, connector, reason):
time.sleep(30)
connector.connect()
def clientConnectionFailed(self, connector, reason):
print "connection failed:", reason
reactor.stop()
time.sleep(30)
connector.connect()
if __name__ == '__main__':
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment