diff options
| author | Gavin Andresen <[email protected]> | 2012-03-22 09:19:01 -0400 |
|---|---|---|
| committer | Gavin Andresen <[email protected]> | 2012-03-22 09:19:01 -0400 |
| commit | a6b4a11385bf44e695c3e47cbd0de6e40eea0b23 (patch) | |
| tree | cf0388fcb5169c85b495092e09be6af5a886a236 /src/irc.cpp | |
| parent | Merge pull request #964 from sipa/fastblocks (diff) | |
| parent | CAddrMan: stochastic address manager (diff) | |
| download | discoin-a6b4a11385bf44e695c3e47cbd0de6e40eea0b23.tar.xz discoin-a6b4a11385bf44e695c3e47cbd0de6e40eea0b23.zip | |
Merge branch 'addrman' of https://github.com/sipa/bitcoin
Diffstat (limited to 'src/irc.cpp')
| -rw-r--r-- | src/irc.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/irc.cpp b/src/irc.cpp index 7a6f40cfa..09bacc165 100644 --- a/src/irc.cpp +++ b/src/irc.cpp @@ -341,7 +341,7 @@ void ThreadIRCSeed2(void* parg) if (DecodeAddress(pszName, addr)) { addr.nTime = GetAdjustedTime(); - if (AddAddress(addr, 51 * 60)) + if (addrman.Add(addr, addrConnect, 51 * 60)) printf("IRC got new address: %s\n", addr.ToString().c_str()); nGotIRCAddresses++; } |