commit 8b8fdd48087a5a9439599cd88e5f274a4bf1dcc7
parent cd89cb760e3fcc86c93f31acf649b2be9f98b415
Author: ThomasV <thomasv@gitorious>
Date: Sun, 4 Dec 2011 16:18:37 +0300
servers not updating peers list properly; let us see if this fixes it
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/server/server.py b/server/server.py
@@ -504,7 +504,7 @@ def irc_thread():
name = line[k+6]
host = line[k+9]
peer_list[name] = (ip,host)
- elif time.time() - t > 5*60:
+ if time.time() - t > 5*60:
s.send('NAMES #electrum\n')
t = time.time()
peer_list = {}