aboutsummaryrefslogtreecommitdiff
path: root/src/db.cpp
diff options
context:
space:
mode:
authorGavin Andresen <gavinandresen@gmail.com>2012-02-06 14:35:57 -0500
committerGavin Andresen <gavinandresen@gmail.com>2012-02-07 09:14:31 -0500
commit9d952d17bb1bd05d5dbfb620f669adfbc223ce0e (patch)
treebd1361bd1ea63650651969dd58a662ddc267b26a /src/db.cpp
parent3ad9f8a70fda629d0ec0b87631d1361178763733 (diff)
Look for flushwallet/listen/irc/dnsseed/upnp instead of noflushwallet/etc. And switch default for irc to 0.
Diffstat (limited to 'src/db.cpp')
-rw-r--r--src/db.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.cpp b/src/db.cpp
index 07f58ef38a..196363a547 100644
--- a/src/db.cpp
+++ b/src/db.cpp
@@ -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;