Some minor temporary client move bug fix
This commit is contained in:
parent
75b6d0c677
commit
7d66afc24c
@ -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};
|
||||
|
Loading…
Reference in New Issue
Block a user