Look for flushwallet/listen/irc/dnsseed/upnp instead of noflushwallet/etc. And switch default for irc to 0.

This commit is contained in:
Gavin Andresen
2012-02-06 14:35:57 -05:00
parent 3ad9f8a70f
commit 9d952d17bb
4 changed files with 19 additions and 18 deletions

View File

@@ -990,7 +990,7 @@ void ThreadFlushWalletDB(void* parg)
if (fOneThread)
return;
fOneThread = true;
if (mapArgs.count("-noflushwallet"))
if (!GetBoolArg("-flushwallet", true))
return;
unsigned int nLastSeen = nWalletDBUpdated;