This commit is contained in:
YouROK
2021-09-08 13:55:20 +03:00
parent 52d7b7a10b
commit 3104f61653

View File

@@ -29,7 +29,7 @@ func Preconfig(kill bool) {
case <-pulse.C: case <-pulse.C:
{ {
send := false send := false
for i, torrent := range torr.ListTorrent() { for _, torrent := range torr.ListTorrent() {
if torrent.Stat != state.TorrentInDB { if torrent.Stat != state.TorrentInDB {
send = true send = true
break break