fixed bug in external IP voting

This commit is contained in:
Arvid Norberg 2012-03-19 00:31:21 +00:00
parent f4d0d90f20
commit 9b8ce67302
1 changed files with 1 additions and 1 deletions

View File

@ -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;
} }