diff options
author | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-24 19:02:21 +0200 |
---|---|---|
committer | Pieter Wuille <pieter.wuille@gmail.com> | 2012-05-31 18:12:35 +0200 |
commit | 587f929c6462698a674fe8add2f301161219d05a (patch) | |
tree | 1a1f3dde2af5e4fe19a66d692df94e8b223560db /src/irc.cpp | |
parent | 50fac686541686191647ddabd87d6dae75c24c52 (diff) |
Rework network config settings
Diffstat (limited to 'src/irc.cpp')
-rw-r--r-- | src/irc.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/irc.cpp b/src/irc.cpp index c0b3b7478d..185be02f29 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -176,8 +176,6 @@ bool GetIPFromIRC(SOCKET hSocket, string strMyName, CNetAddr& ipRet) // Hybrid IRC used by lfnet always returns IP when you userhost yourself, // but in case another IRC is ever used this should work. printf("GetIPFromIRC() got userhost %s\n", strHost.c_str()); - if (fUseProxy) - return false; CNetAddr addr(strHost, true); if (!addr.IsValid()) return false; @@ -281,7 +279,7 @@ void ThreadIRCSeed2(void* parg) if (GetIPFromIRC(hSocket, strMyName, addrFromIRC)) { printf("GetIPFromIRC() returned %s\n", addrFromIRC.ToString().c_str()); - if (!fUseProxy && addrFromIRC.IsRoutable()) + if (addrFromIRC.IsRoutable()) { // IRC lets you to re-nick AddLocal(addrFromIRC, LOCAL_IRC); |