Skip to content

Commit 0fb2908

Browse files
w0xlthebasto
authored andcommitted
refactor: replace RecursiveMutex m_banned_mutex with Mutex
1 parent 784c316 commit 0fb2908

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/banman.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ class BanMan
8484
//!clean unused entries (if bantime has expired)
8585
void SweepBanned() EXCLUSIVE_LOCKS_REQUIRED(m_banned_mutex);
8686

87-
RecursiveMutex m_banned_mutex;
87+
Mutex m_banned_mutex;
8888
banmap_t m_banned GUARDED_BY(m_banned_mutex);
8989
bool m_is_dirty GUARDED_BY(m_banned_mutex){false};
9090
CClientUIInterface* m_client_interface = nullptr;

0 commit comments

Comments
 (0)