don't abort the existing torrent when attempting to add it again

This commit is contained in:
Steven Siloti 2017-05-15 19:54:00 -07:00 committed by Arvid Norberg
parent b547a2cef0
commit 893ef6479f
1 changed files with 5 additions and 1 deletions

View File

@ -4794,7 +4794,11 @@ namespace {
// if this was an existing torrent, we can't start it again, or add
// another set of plugins etc. we're done
if (!added) return handle;
if (!added)
{
abort_torrent.disarm();
return handle;
}
torrent_ptr->set_ip_filter(m_ip_filter);
torrent_ptr->start(params);