forked from premiere/premiere-libtorrent
fixed bug in external IP voting
This commit is contained in:
parent
f4d0d90f20
commit
9b8ce67302
|
@ -1078,7 +1078,7 @@ namespace libtorrent
|
||||||
bool operator<(external_ip_t const& rhs) const
|
bool operator<(external_ip_t const& rhs) const
|
||||||
{
|
{
|
||||||
if (num_votes < rhs.num_votes) return true;
|
if (num_votes < rhs.num_votes) return true;
|
||||||
if (rhs.num_votes > num_votes) return false;
|
if (num_votes > rhs.num_votes) return false;
|
||||||
return sources < rhs.sources;
|
return sources < rhs.sources;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue