refactor: replace RecursiveMutex m_banned_mutex with Mutex

This commit is contained in:
w0xlt 2022-01-18 03:29:14 -03:00 committed by Hennadii Stepanov
parent 784c316f9c
commit 0fb2908708
No known key found for this signature in database
GPG key ID: 410108112E7EA81F

View file

@ -84,7 +84,7 @@ private:
//!clean unused entries (if bantime has expired)
void SweepBanned() EXCLUSIVE_LOCKS_REQUIRED(m_banned_mutex);
RecursiveMutex m_banned_mutex;
Mutex m_banned_mutex;
banmap_t m_banned GUARDED_BY(m_banned_mutex);
bool m_is_dirty GUARDED_BY(m_banned_mutex){false};
CClientUIInterface* m_client_interface = nullptr;