From 7d66afc24cea0f60e4d5b429fd6361194c9096ea Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Fri, 4 Dec 2020 14:52:32 +0100 Subject: [PATCH] Some minor temporary client move bug fix --- server/src/client/command_handler/channel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/client/command_handler/channel.cpp b/server/src/client/command_handler/channel.cpp index 30a0324..a971cf8 100644 --- a/server/src/client/command_handler/channel.cpp +++ b/server/src/client/command_handler/channel.cpp @@ -950,7 +950,7 @@ command_result ConnectedClient::handleCommandChannelCreate(Command &cmd) { /* FIXME: Log group assignment */ this->server->groups->setChannelGroup(this->getClientDatabaseId(), channel_admin_group, created_channel); - if (created_channel->channelType() == ChannelType::temporary && (this->getType() == ClientType::CLIENT_TEAMSPEAK || this->getType() == ClientType::CLIENT_WEB)) { + if (created_channel->channelType() == ChannelType::temporary && (this->getType() == ClientType::CLIENT_TEAMSPEAK || this->getType() == ClientType::CLIENT_WEB || this->getType() == ClientType::CLIENT_TEASPEAK)) { channel_tree_read_lock.unlock(); std::unique_lock channel_tree_write_lock{this->server->channel_tree_lock};