diff options
author | MarcoFalke <falke.marco@gmail.com> | 2021-07-28 20:00:23 +0200 |
---|---|---|
committer | MarcoFalke <falke.marco@gmail.com> | 2021-07-30 11:21:51 +0200 |
commit | fa384fdd0b7af73d81fa9619c5fba779452cd2af (patch) | |
tree | 916e3054782a7188df547399f4efe191dca415d1 /src/banman.h | |
parent | 4b1fb50def0dea0cd320bc43c12d9a12edde0390 (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.h | 2 |
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; |