1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-03-13 08:11:11 +00:00

update router caps

This commit is contained in:
orignal 2025-02-18 21:49:07 -05:00
parent ef72ba3f34
commit 70f99ccc21

View File

@ -1498,7 +1498,9 @@ namespace data
void LocalRouterInfo::SetProperty (std::string_view key, std::string_view value)
{
m_Properties.emplace (key, value);
auto [it, inserted] = m_Properties.emplace (key, value);
if (!inserted)
it->second = value;
}
void LocalRouterInfo::DeleteProperty (const std::string& key)