From 141365cbc13e5f9bf77b437cae13bb97b6d503c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stanis=C5=82aw=20Zag=C3=B3rowski?= Date: Fri, 3 Mar 2023 20:32:44 +0100 Subject: [PATCH] Fix plugin config breakage (#1687) --- src/config/ConfigManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/ConfigManager.cpp b/src/config/ConfigManager.cpp index f8d2bbc9..d1b84cde 100644 --- a/src/config/ConfigManager.cpp +++ b/src/config/ConfigManager.cpp @@ -311,7 +311,7 @@ void CConfigManager::configSetValueSafe(const std::string& COMMAND, const std::s for (auto& [handle, pMap] : pluginConfigs) { auto it = std::find_if(pMap->begin(), pMap->end(), [&](const auto& other) { return other.first == COMMAND; }); if (it == pMap->end()) { - return; // plugin vars do not err, so we silently ignore. + continue; // May be in another plugin } CONFIGENTRY = &it->second;