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()
53
53
{
54
54
LOCK (m_cs_banned);
55
55
SweepBanned ();
56
- if (!BannedSetIsDirty () ) return ;
56
+ if (!m_is_dirty ) return ;
57
57
banmap = m_banned;
58
58
SetBannedSetDirty (false );
59
59
}
@@ -203,12 +203,6 @@ void BanMan::SweepBanned()
203
203
}
204
204
}
205
205
206
- bool BanMan::BannedSetIsDirty ()
207
- {
208
- LOCK (m_cs_banned);
209
- return m_is_dirty;
210
- }
211
-
212
206
void BanMan::SetBannedSetDirty (bool dirty)
213
207
{
214
208
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
81
81
82
82
private:
83
83
void LoadBanlist () EXCLUSIVE_LOCKS_REQUIRED(!m_cs_banned);
84
- bool BannedSetIsDirty ();
85
84
// !set the "dirty" flag for the banlist
86
85
void SetBannedSetDirty (bool dirty = true );
87
86
// !clean unused entries (if bantime has expired)
You can’t perform that action at this time.
0 commit comments