mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-02-16 02:30:54 +00:00
Remove todo in accordance with review
This commit is contained in:
@@ -241,7 +241,7 @@ void TConfig::TryReadValue(toml::value& Table, const std::string& Category, cons
|
||||
void TConfig::ParseFromFile(std::string_view name) {
|
||||
try {
|
||||
toml::value data {};
|
||||
if (!mDisableConfig) { // todo: rename mDisableCofig to configEnabled
|
||||
if (!mDisableConfig) {
|
||||
data = toml::parse<toml::preserve_comments>(name.data());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user