File tree Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Expand file tree Collapse file tree 2 files changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ void BanMan::DumpBanlist()
5353 {
5454 LOCK (m_cs_banned);
5555 SweepBanned ();
56- if (!BannedSetIsDirty () ) return ;
56+ if (!m_is_dirty ) return ;
5757 banmap = m_banned;
5858 SetBannedSetDirty (false );
5959 }
@@ -203,12 +203,6 @@ void BanMan::SweepBanned()
203203 }
204204}
205205
206- bool BanMan::BannedSetIsDirty ()
207- {
208- LOCK (m_cs_banned);
209- return m_is_dirty;
210- }
211-
212206void BanMan::SetBannedSetDirty (bool dirty)
213207{
214208 LOCK (m_cs_banned); // reuse m_banned lock for the m_is_dirty flag
Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ class BanMan
8181
8282private:
8383 void LoadBanlist () EXCLUSIVE_LOCKS_REQUIRED(!m_cs_banned);
84- bool BannedSetIsDirty ();
8584 // !set the "dirty" flag for the banlist
8685 void SetBannedSetDirty (bool dirty = true );
8786 // !clean unused entries (if bantime has expired)
You can’t perform that action at this time.
0 commit comments