Fix plugin config breakage (#1687)

This commit is contained in:
Stanisław Zagórowski 2023-03-03 20:32:44 +01:00 committed by GitHub
parent 51ce3ddd67
commit 141365cbc1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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;