Access key computation without clearing data
This commit is contained in:
@@ -17,7 +17,7 @@ func HandleRenameTorrent(directory, torrentName, newName string, torMgr *torrent
|
||||
}
|
||||
torrents.Remove(torrentName)
|
||||
torrents.Set(newName, torrent)
|
||||
torrent.AccessKey = newName
|
||||
torrent.Rename = newName
|
||||
return nil
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user