aboutsummaryrefslogtreecommitdiff
path: root/irc.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'irc.cpp')
-rw-r--r--irc.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/irc.cpp b/irc.cpp
index 8e8510859f..f38db6bbb0 100644
--- a/irc.cpp
+++ b/irc.cpp
@@ -265,8 +265,7 @@ void ThreadIRCSeed(void* parg)
if (DecodeAddress(pszName, addr))
{
addr.nTime = GetAdjustedTime() - 51 * 60;
- CAddrDB addrdb;
- if (AddAddress(addrdb, addr))
+ if (AddAddress(addr))
printf("IRC got new address\n");
nGotIRCAddresses++;
}