fix tr_session::shouldDeleteSource() (#3759)

shouldDeleteSource() was returning the same value as shouldPauseAddedTorrents()

Co-authored-by: Simone Tellini <simone@tellini.info>
This commit is contained in:
wiz78 2022-09-04 19:05:39 +02:00 committed by GitHub
parent 02af4c2982
commit 1bba2a8c61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -585,7 +585,7 @@ public:
[[nodiscard]] constexpr auto shouldDeleteSource() const noexcept
{
return should_pause_added_torrents_;
return should_delete_source_torrents_;
}
[[nodiscard]] constexpr auto allowsDHT() const noexcept