add SSU2 introducer if SSU2 only

This commit is contained in:
orignal 2022-07-26 13:57:37 -04:00
parent a0419e4f34
commit f9106b77bb

View File

@ -466,7 +466,7 @@ namespace i2p
bool RouterContext::AddSSU2Introducer (const i2p::data::RouterInfo::Introducer& introducer, bool v4)
{
if (!IsSSU2Only ()) return false
if (!IsSSU2Only ()) return false;
bool ret = m_RouterInfo.AddSSU2Introducer (introducer, v4);
if (ret)
UpdateRouterInfo ();