|
@ -182,7 +182,10 @@ class Network(threading.Thread): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def get_servers(self): |
|
|
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: |
|
|
for s in self.recent_servers: |
|
|
host, port, protocol = s.split(':') |
|
|
host, port, protocol = s.split(':') |
|
|
if host not in out: |
|
|
if host not in out: |
|
|