Bugfix: ForceSetArg should replace entr(ies) in mapMultiArgs, not append

This commit is contained in:
Luke Dashjr committed 2017-06-05 21:04:42 +00:00
1 parent 23fb9adaea
commit 74e8738961
1 file changed
+1
+1
View File
@@ -477,6 +477,7 @@ void ArgsManager::ForceSetArg(const std::string& strArg, const std::string& strV
{
LOCK(cs_args);
mapArgs[strArg] = strValue;
mapMultiArgs[strArg].clear();
mapMultiArgs[strArg].push_back(strValue);
}