diff options
| author | Stanisław Zagórowski <hasohasacz@gmail.com> | 2023-03-03 20:32:44 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-03-03 19:32:44 +0000 |
| commit | 141365cbc13e5f9bf77b437cae13bb97b6d503c7 (patch) | |
| tree | d11735c3e505584b4e82f69c980843546e2952fe /src/config/ConfigManager.cpp | |
| parent | 51ce3ddd670ca9fb7d359ec8be617354c23ba072 (diff) | |
Fix plugin config breakage (#1687)
Diffstat (limited to 'src/config/ConfigManager.cpp')
| -rw-r--r-- | src/config/ConfigManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
