fixed upload_mode assert

This commit is contained in:
Arvid Norberg 2012-02-21 06:46:36 +00:00
parent 5e4b8f785d
commit bcf1d6eee8
1 changed files with 1 additions and 1 deletions

View File

@ -1970,7 +1970,7 @@ namespace libtorrent
// peer has // peer has
// if we're a seed, we don't keep track of piece availability // if we're a seed, we don't keep track of piece availability
bool interesting = false; bool interesting = false;
if (!t->is_seed()) if (!t->is_upload_only())
{ {
t->peer_has(bits); t->peer_has(bits);