don't abort the existing torrent when attempting to add it again
This commit is contained in:
parent
b547a2cef0
commit
893ef6479f
|
@ -4794,7 +4794,11 @@ namespace {
|
||||||
|
|
||||||
// if this was an existing torrent, we can't start it again, or add
|
// if this was an existing torrent, we can't start it again, or add
|
||||||
// another set of plugins etc. we're done
|
// 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->set_ip_filter(m_ip_filter);
|
||||||
torrent_ptr->start(params);
|
torrent_ptr->start(params);
|
||||||
|
|
Loading…
Reference in New Issue