mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-28 11:47:48 +02:00
always check profile for peer selection
This commit is contained in:
parent
c873e9dd68
commit
76c54ffdef
4 changed files with 17 additions and 11 deletions
|
@ -912,7 +912,8 @@ namespace data
|
|||
{
|
||||
if (i >= ind)
|
||||
{
|
||||
if (!it.second->IsUnreachable () && filter (it.second))
|
||||
if (!it.second->IsUnreachable () && filter (it.second) &&
|
||||
(j || !it.second->GetProfile ()->IsBad ()))
|
||||
return it.second;
|
||||
}
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue