mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-01-18 18:35:14 +08:00
parent
4a5d2e2558
commit
e19173c1f3
@ -2753,6 +2753,9 @@ bool SessionImpl::addTorrent_impl(const std::variant<MagnetUri, TorrentInfo> &so
|
||||
|
||||
p.flags |= lt::torrent_flags::duplicate_is_error;
|
||||
|
||||
// Prevent torrent from saving initial resume data twice
|
||||
p.flags &= ~lt::torrent_flags::need_save_resume;
|
||||
|
||||
p.added_time = std::time(nullptr);
|
||||
|
||||
// Limits
|
||||
|
Loading…
Reference in New Issue
Block a user