mirror of
https://github.com/Qortal/altcoinj.git
synced 2025-01-30 23:02:15 +00:00
Actually use the provided IRC server name in IrcDiscovery. Resolves issue 266.
This commit is contained in:
parent
93870110c3
commit
682033aef6
@ -93,7 +93,7 @@ public class IrcDiscovery implements PeerDiscovery {
|
||||
ArrayList<InetSocketAddress> addresses = new ArrayList<InetSocketAddress>();
|
||||
connection = null;
|
||||
try {
|
||||
InetAddress ip = InetAddress.getByName("irc.lfnet.org");
|
||||
InetAddress ip = InetAddress.getByName(server);
|
||||
log.info("Connecting to IRC with " + ip);
|
||||
connection = new Socket(server, port);
|
||||
writer = new BufferedWriter(new OutputStreamWriter(connection.getOutputStream(), "UTF-8"));
|
||||
|
Loading…
Reference in New Issue
Block a user