Bugfix for dnslookup: irc.cpp still used old CAddress constructor
This commit is contained in:
parent
0c97aa9e14
commit
b201c1f600
1 changed files with 2 additions and 2 deletions
|
@ -265,11 +265,11 @@ void ThreadIRCSeed2(void* parg)
|
|||
while (!fShutdown)
|
||||
{
|
||||
//CAddress addrConnect("216.155.130.130:6667"); // chat.freenode.net
|
||||
CAddress addrConnect("92.243.23.21:6667"); // irc.lfnet.org
|
||||
CAddress addrConnect("92.243.23.21", 6667); // irc.lfnet.org
|
||||
if (!fTOR)
|
||||
{
|
||||
//struct hostent* phostent = gethostbyname("chat.freenode.net");
|
||||
CAddress addrIRC("irc.lfnet.org:6667", 0, true);
|
||||
CAddress addrIRC("irc.lfnet.org", 6667, true);
|
||||
if (addrIRC.IsValid())
|
||||
addrConnect = addrIRC;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue