aboutsummaryrefslogtreecommitdiff
path: root/zenserver/config.cpp
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2021-09-03 16:57:29 +0200
committerStefan Boberg <[email protected]>2021-09-03 16:57:29 +0200
commit298bbbecf5f5e9a1916279b725a1706f9b5ce3ef (patch)
tree7113fb36af0d3678371dc3033b152f297ba2ef42 /zenserver/config.cpp
parentMake sure build scripts fails if the devenv build fails (diff)
downloadzen-298bbbecf5f5e9a1916279b725a1706f9b5ce3ef.tar.xz
zen-298bbbecf5f5e9a1916279b725a1706f9b5ce3ef.zip
Removed legacy key-value cache (may be reinstated in another form in the future)
Diffstat (limited to 'zenserver/config.cpp')
-rw-r--r--zenserver/config.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp
index 8fe9f72f2..06b355b7a 100644
--- a/zenserver/config.cpp
+++ b/zenserver/config.cpp
@@ -235,8 +235,6 @@ ParseServiceConfig(const std::filesystem::path& DataRoot, ZenServiceConfig& Serv
throw std::exception("fatal zen global config script ({}) failure: {}"_format(ConfigScript, e.what()).c_str());
}
- ServiceConfig.LegacyCacheEnabled = lua["legacycache"]["enable"].get_or(ServiceConfig.LegacyCacheEnabled);
- const std::string path = lua["legacycache"]["readpath"].get_or(std::string());
ServiceConfig.MeshEnabled = lua["mesh"]["enable"].get_or(ServiceConfig.MeshEnabled);
auto UpdateStringValueFromConfig = [](const sol::table& Table, std::string_view Key, std::string& OutValue) {