Renamed TSServer to VirtualServer
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user