diff --git a/controllers/torrent/stats.go b/controllers/torrent/stats.go index af8bdff1..937f6899 100644 --- a/controllers/torrent/stats.go +++ b/controllers/torrent/stats.go @@ -163,7 +163,7 @@ func GetTorrentTrackers(torrent *models.Torrent) []string { for _, tracker := range config.Get().Torrents.Trackers.Default { if !contains(Trackers, tracker) && strings.HasPrefix(tracker, "udp") { - Trackers = append(Trackers, line) + Trackers = append(Trackers, tracker) } } return Trackers