Renamed TSServer to VirtualServer

This commit is contained in:
WolverinDEV
2020-01-26 18:04:38 +01:00
parent 2dc48747ed
commit 12aee2c958
71 changed files with 272 additions and 272 deletions
+3 -3
View File
@@ -8,7 +8,7 @@
#include <log/LogUtils.h>
#include <ThreadPool/Timer.h>
#include "../TSServer.h"
#include "src/VirtualServer.h"
#include "voice/VoiceClient.h"
#include "../server/VoiceServer.h"
#include "../server/file/FileServer.h"
@@ -23,7 +23,7 @@ using namespace ts::token;
extern ts::server::InstanceHandler* serverInstance;
ConnectedClient::ConnectedClient(sql::SqlManager* db, const std::shared_ptr<TSServer>&server) : DataClient(db, server) {
ConnectedClient::ConnectedClient(sql::SqlManager* db, const std::shared_ptr<VirtualServer>&server) : DataClient(db, server) {
memtrack::allocated<ConnectedClient>(this);
memset(&this->remote_address, 0, sizeof(this->remote_address));
@@ -83,7 +83,7 @@ std::shared_ptr<ConnectionInfoData> ConnectedClient::request_connection_info(con
//Attention the client should be only read only locked!
void ConnectedClient::updateChannelClientProperties(bool lock_channel_tree, bool notify_self) {
/* this->server may be null! */
shared_ptr<TSServer> server_ref = this->server;
shared_ptr<VirtualServer> server_ref = this->server;
auto permissions = this->calculate_permissions({
permission::i_client_talk_power,