From a496f883b9d1ce78c3686097a386520e4364aa01 Mon Sep 17 00:00:00 2001 From: ThomasV Date: Mon, 28 Apr 2014 13:51:11 +0200 Subject: [PATCH] increase delay between irc messages sent, to avoid flood --- backends/irc/__init__.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/backends/irc/__init__.py b/backends/irc/__init__.py index 2e3d563..5511d8f 100644 --- a/backends/irc/__init__.py +++ b/backends/irc/__init__.py @@ -78,7 +78,7 @@ class IrcThread(threading.Thread): try: s = socket.socket() s.connect(('irc.freenode.net', 6667)) - s.settimeout(0.1) + s.settimeout(0.3) except: s.close() print_log("IRC: reconnect in 10 s") -- 1.7.1