Bugfix for dnslookup: irc.cpp still used old CAddress constructor
This commit is contained in:
parent
0c97aa9e14
commit
b201c1f600
|
@ -265,11 +265,11 @@ void ThreadIRCSeed2(void* parg)
|
||||||
while (!fShutdown)
|
while (!fShutdown)
|
||||||
{
|
{
|
||||||
//CAddress addrConnect("216.155.130.130:6667"); // chat.freenode.net
|
//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)
|
if (!fTOR)
|
||||||
{
|
{
|
||||||
//struct hostent* phostent = gethostbyname("chat.freenode.net");
|
//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())
|
if (addrIRC.IsValid())
|
||||||
addrConnect = addrIRC;
|
addrConnect = addrIRC;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue