diff options
author | Luke Dashjr <luke-jr+git@utopios.org> | 2017-01-03 20:33:55 +0000 |
---|---|---|
committer | Luke Dashjr <luke-jr+git@utopios.org> | 2017-06-05 21:04:42 +0000 |
commit | 74e87389616ce1147c65f0e49f3d84b817693ac6 (patch) | |
tree | 5cb384819ed19322238fd6bf72f7c19a6512bf88 /src | |
parent | 23fb9adaea01c7baece6e1269e65713571088c5f (diff) |
Bugfix: ForceSetArg should replace entr(ies) in mapMultiArgs, not append
Diffstat (limited to 'src')
-rw-r--r-- | src/util.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/util.cpp b/src/util.cpp index 653a4f072a..745c3e3bc0 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -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); } |