refactor: replace RecursiveMutex m_banned_mutex with Mutex

This commit is contained in:
w0xlt authored and Hennadii Stepanov committed 2022-05-24 09:54:28 +02:00
1 parent 784c316f9c
commit 0fb2908708
1 file changed
+1 -1
+1 -1
View File
@@ -84,7 +84,7 @@ private:
//!clean unused entries (if bantime has expired) //!clean unused entries (if bantime has expired)
void SweepBanned() EXCLUSIVE_LOCKS_REQUIRED(m_banned_mutex); 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); banmap_t m_banned GUARDED_BY(m_banned_mutex);
bool m_is_dirty GUARDED_BY(m_banned_mutex){false}; bool m_is_dirty GUARDED_BY(m_banned_mutex){false};
CClientUIInterface* m_client_interface = nullptr; CClientUIInterface* m_client_interface = nullptr;