|
|
@ -166,10 +166,12 @@ void ThreadIRCSeed(void* parg)
|
|
|
|
|
|
|
|
|
|
|
|
while (!fShutdown)
|
|
|
|
while (!fShutdown)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
CAddress addrConnect("216.155.130.130:6667");
|
|
|
|
//CAddress addrConnect("216.155.130.130:6667"); // chat.freenode.net
|
|
|
|
|
|
|
|
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");
|
|
|
|
|
|
|
|
struct hostent* phostent = gethostbyname("irc.lfnet.org");
|
|
|
|
if (phostent && phostent->h_addr_list && phostent->h_addr_list[0])
|
|
|
|
if (phostent && phostent->h_addr_list && phostent->h_addr_list[0])
|
|
|
|
addrConnect = CAddress(*(u_long*)phostent->h_addr_list[0], htons(6667));
|
|
|
|
addrConnect = CAddress(*(u_long*)phostent->h_addr_list[0], htons(6667));
|
|
|
|
}
|
|
|
|
}
|
|
|
|