From 45854e294990145c4a195f87b22d19d6999a1a26 Mon Sep 17 00:00:00 2001 From: tt2468 Date: Sun, 26 Sep 2021 03:10:43 -0700 Subject: [PATCH] Config: Properly add more logging, fix bug --- src/Config.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Config.cpp b/src/Config.cpp index 367e82bb..0a9b6d31 100644 --- a/src/Config.cpp +++ b/src/Config.cpp @@ -84,10 +84,11 @@ void Config::Load() } // Process `--websocket_debug` override - if (Utils::Platform::GetCommandLineFlagSet(CMDLINE_WEBSOCKET_DEBUG)) + if (Utils::Platform::GetCommandLineFlagSet(CMDLINE_WEBSOCKET_DEBUG)) { // Debug does not persist on reload, so we let people override it with a flag. blog(LOG_INFO, "[Config::Load] --websocket_debug passed. Enabling debug logging."); DebugEnabled = true; + } } void Config::Save()