Begining with the new VS structure
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
#include "../../server/file/FileServer.h"
|
||||
#include "../../server/VoiceServer.h"
|
||||
#include "../voice/VoiceClient.h"
|
||||
#include "PermissionManager.h"
|
||||
#include "PermissionRegister.h"
|
||||
#include "../../InstanceHandler.h"
|
||||
#include "../../server/QueryServer.h"
|
||||
#include "../file/FileClient.h"
|
||||
@@ -48,7 +48,7 @@ using namespace std::chrono;
|
||||
using namespace std;
|
||||
using namespace ts;
|
||||
using namespace ts::server;
|
||||
using namespace ts::token;
|
||||
using namespace ts::server::tokens;
|
||||
|
||||
#define QUERY_PASSWORD_LENGTH 12
|
||||
|
||||
@@ -460,6 +460,7 @@ command_result ConnectedClient::handleCommandSetClientChannelGroup(Command &cmd)
|
||||
}
|
||||
}
|
||||
|
||||
//TODO: When using new VS model, check for a temporary assignment!
|
||||
this->server->groups->setChannelGroup(target_cldbid, serverGroup, channel);
|
||||
for (const auto &targetClient : this->server->findClientsByCldbId(target_cldbid)) {
|
||||
unique_lock client_channel_lock_w(targetClient->channel_lock);
|
||||
|
||||
Reference in New Issue
Block a user