Correct processing of reseed.floodfill option

This commit is contained in:
Vort 2023-03-03 21:26:38 +02:00
parent 4db643aa8e
commit 6610af08c2

View File

@ -431,8 +431,8 @@ namespace data
}
// try reseeding from floodfill first if specified
std::string riPath;
if(i2p::config::GetOption("reseed.floodfill", riPath))
std::string riPath; i2p::config::GetOption("reseed.floodfill", riPath);
if (!riPath.empty())
{
auto ri = std::make_shared<RouterInfo>(riPath);
if (ri->IsFloodfill())