From 45229e1e8e3efe416574ecd2dca0639193fa797c Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Sun, 18 Apr 2021 21:36:35 +0200 Subject: [PATCH] Fixed bug which prevented clients from kicking client from channel --- server/src/TS3ServerClientManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/TS3ServerClientManager.cpp b/server/src/TS3ServerClientManager.cpp index c3dd6e4..9b6e607 100644 --- a/server/src/TS3ServerClientManager.cpp +++ b/server/src/TS3ServerClientManager.cpp @@ -424,7 +424,7 @@ void VirtualServer::client_move( TIMING_START(timings); if(!server_channel_write_lock.owns_lock()) { - server_channel_write_lock.unlock(); + server_channel_write_lock.lock(); } TIMING_STEP(timings, "chan tree l");