aboutsummaryrefslogtreecommitdiff
path: root/src/banman.h
diff options
context:
space:
mode:
authorMarcoFalke <falke.marco@gmail.com>2021-07-28 20:00:23 +0200
committerMarcoFalke <falke.marco@gmail.com>2021-07-30 11:21:51 +0200
commitfa384fdd0b7af73d81fa9619c5fba779452cd2af (patch)
tree916e3054782a7188df547399f4efe191dca415d1 /src/banman.h
parent4b1fb50def0dea0cd320bc43c12d9a12edde0390 (diff)
Ignore banlist.dat
This also allows to remove the "dirty" argument, which can now be deduced from the return value of Read().
Diffstat (limited to 'src/banman.h')
-rw-r--r--src/banman.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/banman.h b/src/banman.h
index 8c75d4037e..8a03a9e3fc 100644
--- a/src/banman.h
+++ b/src/banman.h
@@ -88,7 +88,7 @@ private:
RecursiveMutex m_cs_banned;
banmap_t m_banned GUARDED_BY(m_cs_banned);
- bool m_is_dirty GUARDED_BY(m_cs_banned);
+ bool m_is_dirty GUARDED_BY(m_cs_banned){false};
CClientUIInterface* m_client_interface = nullptr;
CBanDB m_ban_db;
const int64_t m_default_ban_time;