diff --git a/Server/Source/Server.cpp b/Server/Source/Server.cpp index 164bcc4..44707b6 100644 --- a/Server/Source/Server.cpp +++ b/Server/Source/Server.cpp @@ -144,8 +144,8 @@ void Server::loadConfig() { m_crashReporting = jsonGetValue(cfg, "CrashReporting", m_crashReporting); logln("crash reporting is " << (m_crashReporting ? "enabled" : "disabled")); m_sandboxMode = (SandboxMode)jsonGetValue(cfg, "SandboxMode", m_sandboxMode); - logln("sandbox mode is " << (m_sandboxMode == SANDBOX_CHAIN ? "chain" - : m_sandboxMode == SANDBOX_PLUGIN ? "plugin" + logln("sandbox mode is " << (m_sandboxMode == SANDBOX_CHAIN ? "chain isolation" + : m_sandboxMode == SANDBOX_PLUGIN ? "plugin isolation" : "disabled")); m_sandboxLogAutoclean = jsonGetValue(cfg, "SandboxLogAutoclean", m_sandboxLogAutoclean); } diff --git a/Server/Source/Server.hpp b/Server/Source/Server.hpp index 7916a10..1642814 100644 --- a/Server/Source/Server.hpp +++ b/Server/Source/Server.hpp @@ -152,7 +152,7 @@ class Server : public Thread, public LogTag { bool m_vstNoStandardFolders; bool m_scanForPlugins = true; bool m_crashReporting = true; - SandboxMode m_sandboxMode = SANDBOX_PLUGIN, m_sandboxModeRuntime = SANDBOX_NONE; + SandboxMode m_sandboxMode = SANDBOX_CHAIN, m_sandboxModeRuntime = SANDBOX_NONE; bool m_sandboxLogAutoclean = true; HashMap, DefaultHashFunctions, CriticalSection> m_sandboxes;