Fixed some compile errors

This commit is contained in:
WolverinDEV 2021-03-01 14:50:57 +01:00
parent db71461646
commit c8438c5867
3 changed files with 8 additions and 4 deletions

@ -1 +1 @@
Subproject commit 8d025ece01e81d23f965c0284e38b6743bbc6b5a
Subproject commit fc3f3d12eba8f10b6cee4b015793e7161866eb64

View File

@ -196,8 +196,12 @@ InstanceHandler::InstanceHandler(SqlDataManager *sql) : sql(sql) {
this->save_channel_permissions();
}
}
if(!this->default_tree->getDefaultChannel()) this->default_tree->setDefaultChannel(this->default_tree->findChannel("[cspacer04]Default Channel", nullptr));
if(!this->default_tree->getDefaultChannel()) this->default_tree->setDefaultChannel(*this->default_tree->channels().begin());
if(!this->default_tree->getDefaultChannel()) {
this->default_tree->setDefaultChannel(this->default_tree->findChannel("[cspacer04]Default Channel", nullptr));
}
if(!this->default_tree->getDefaultChannel()) {
this->default_tree->setDefaultChannel(*this->default_tree->channels().begin());
}
assert(this->default_tree->getDefaultChannel());
}

2
shared

@ -1 +1 @@
Subproject commit 206e0052d1dbe64072e1ce145c380b12114d78d5
Subproject commit 26981b95f70ed4418be0a0e1720eaa7c7fc0a76a