diff options
| author | Stefan Boberg <[email protected]> | 2023-01-26 09:56:08 +0100 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-01-26 09:56:52 +0100 |
| commit | c3b906dec4589d0b06f4387dce26dd79a988c269 (patch) | |
| tree | 96e3947b7f76e3b255b21c2f70831ce121191492 /zenserver/config.cpp | |
| parent | fix gc logging (#213) (diff) | |
| download | zen-c3b906dec4589d0b06f4387dce26dd79a988c269.tar.xz zen-c3b906dec4589d0b06f4387dce26dd79a988c269.zip | |
removed experimental mesh code
should be replaced with a proper implementation later
Diffstat (limited to 'zenserver/config.cpp')
| -rw-r--r-- | zenserver/config.cpp | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp index d7233a6f4..fa4ee7f5a 100644 --- a/zenserver/config.cpp +++ b/zenserver/config.cpp @@ -222,15 +222,6 @@ ParseCliOptions(int argc, char* argv[], ZenServerOptions& ServerOptions) cxxopts::value<int>(ServerOptions.WebSocketThreads)->default_value("0"), ""); -#if ZEN_ENABLE_MESH - options.add_option("network", - "m", - "mesh", - "Enable mesh network", - cxxopts::value<bool>(ServerOptions.MeshEnabled)->default_value("false"), - ""); -#endif - #if ZEN_WITH_TRACE options.add_option("ue-trace", "", @@ -670,9 +661,6 @@ ParseConfigFile(const std::filesystem::path& Path, ZenServerOptions& ServerOptio } ServerOptions.BasePort = NetworkConfig->get_or<int>("port", ServerOptions.BasePort); -#if ZEN_ENABLE_MESH - ServerOptions.MeshEnabled = NetworkConfig->get_or<bool>("meshenabled", ServerOptions.MeshEnabled); -#endif } auto UpdateStringValueFromConfig = [](const sol::table& Table, std::string_view Key, std::string& OutValue) { |