Browse Source

don't use recent_servers if list from irc is available

283
ThomasV 11 years ago
parent
commit
32cca276fe
  1. 5
      lib/network.py

5
lib/network.py

@ -182,7 +182,10 @@ class Network(threading.Thread):
def get_servers(self):
out = self.irc_servers if self.irc_servers else DEFAULT_SERVERS
if self.irc_servers:
out = self.irc_servers
else:
out = DEFAULT_SERVERS
for s in self.recent_servers:
host, port, protocol = s.split(':')
if host not in out:

Loading…
Cancel
Save