diff options
Diffstat (limited to 'zenserver/config.cpp')
| -rw-r--r-- | zenserver/config.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/zenserver/config.cpp b/zenserver/config.cpp index adb079d83..b7fc18b4e 100644 --- a/zenserver/config.cpp +++ b/zenserver/config.cpp @@ -652,6 +652,11 @@ ParseConfigFile(const std::filesystem::path& Path, ZenServerOptions& ServerOptio } } + if (sol::optional<sol::table> ExecConfig = lua["exec"]) + { + ServerOptions.ExecServiceEnabled = ExecConfig->get_or("enable", ServerOptions.ExecServiceEnabled); + } + if (sol::optional<sol::table> ComputeConfig = lua["compute"]) { ServerOptions.ComputeServiceEnabled = ComputeConfig->get_or("enable", ServerOptions.ComputeServiceEnabled); |