ignore http trackers
Cette révision appartient à :
Parent
4bd364eb91
révision
95cc7fd4fd
|
@ -162,7 +162,7 @@ func GetTorrentTrackers(torrent *models.Torrent) []string {
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, line := range config.Get().Torrents.Trackers.Default {
|
for _, line := range config.Get().Torrents.Trackers.Default {
|
||||||
if !contains(Trackers, line) {
|
if !contains(Trackers, line) && strings.HasPrefix(tracker, "udp") {
|
||||||
Trackers = append(Trackers, line)
|
Trackers = append(Trackers, line)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Référencer dans un nouveau ticket