Fixed some compile errors
This commit is contained in:
parent
db71461646
commit
c8438c5867
@ -1 +1 @@
|
||||
Subproject commit 8d025ece01e81d23f965c0284e38b6743bbc6b5a
|
||||
Subproject commit fc3f3d12eba8f10b6cee4b015793e7161866eb64
|
@ -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
2
shared
@ -1 +1 @@
|
||||
Subproject commit 206e0052d1dbe64072e1ce145c380b12114d78d5
|
||||
Subproject commit 26981b95f70ed4418be0a0e1720eaa7c7fc0a76a
|
Loading…
Reference in New Issue
Block a user