mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-03-09 20:21:22 +00:00
Bugfix: ForceSetArg should replace entr(ies) in mapMultiArgs, not append
This commit is contained in:
parent
23fb9adaea
commit
74e8738961
@ -477,6 +477,7 @@ void ArgsManager::ForceSetArg(const std::string& strArg, const std::string& strV
|
|||||||
{
|
{
|
||||||
LOCK(cs_args);
|
LOCK(cs_args);
|
||||||
mapArgs[strArg] = strValue;
|
mapArgs[strArg] = strValue;
|
||||||
|
mapMultiArgs[strArg].clear();
|
||||||
mapMultiArgs[strArg].push_back(strValue);
|
mapMultiArgs[strArg].push_back(strValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user