Fixed a crash

This commit is contained in:
WolverinDEV
2021-01-22 19:59:01 +01:00
parent 660fe3317f
commit 9784ce9351
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -170,7 +170,7 @@ void VirtualServer::executeServerTick() {
auto channels = this->channelTree->channels();
channel_lock.unlock();
for(const auto& channel : this->channelTree->channels()){
for(const auto& channel : channels){
if(channel->channelType() == ChannelType::temporary) {
auto server_channel = dynamic_pointer_cast<ServerChannel>(channel);
assert(server_channel);