}
// The trackers will be merged with the existing ones. If the Info isn't yet known, it will be set.
+// spec.DisallowDataDownload/Upload will be read and applied
// The display name is replaced if the new spec provides one. Note that any `Storage` is ignored.
func (t *Torrent) MergeSpec(spec *TorrentSpec) error {
if spec.DisplayName != "" {
}
t.addTrackers(spec.Trackers)
t.maybeNewConns()
+ t.dataDownloadDisallowed = spec.DisallowDataDownload
+ t.dataUploadDisallowed = spec.DisallowDataUpload
return nil
}