Remove DISABLE_COUNTRIES_RESOLUTION define

This commit is contained in:
FranciscoPombal
2020-07-08 01:07:50 +01:00
parent 83f1028ff7
commit 8f8f7ebd15
6 changed files with 0 additions and 19 deletions

View File

@@ -59,14 +59,12 @@ bool PeerInfo::fromLSD() const
return static_cast<bool>(m_nativeInfo.source & lt::peer_info::lsd);
}
#ifndef DISABLE_COUNTRIES_RESOLUTION
QString PeerInfo::country() const
{
if (m_country.isEmpty())
m_country = Net::GeoIPManager::instance()->lookup(address().ip);
return m_country;
}
#endif
bool PeerInfo::isInteresting() const
{