servers not updating peers list properly; let us see if this fixes it
authorThomasV <thomasv@gitorious>
Sun, 4 Dec 2011 13:18:37 +0000 (16:18 +0300)
committerThomasV <thomasv@gitorious>
Sun, 4 Dec 2011 13:18:37 +0000 (16:18 +0300)
server.py

index d57d091..b33b9bf 100755 (executable)
--- a/server.py
+++ b/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 = {}