Ignore renames

This commit is contained in:
Ben Sarmiento
2024-01-10 17:51:19 +01:00
parent b26d8c6c84
commit 124de7c01c
3 changed files with 7 additions and 7 deletions

View File

@@ -175,7 +175,7 @@ func (t *TorrentManager) assignedDirectoryCb(tor *Torrent, cb func(string)) {
}
func (t *TorrentManager) GetKey(torrent *Torrent) string {
if t.Config.ShouldAllowRenames() && torrent.Rename != "" {
if !t.Config.ShouldIgnoreRenames() && torrent.Rename != "" {
return torrent.Rename
}
if t.Config.EnableRetainRDTorrentName() {