diff --git a/server/cmd/preconfig_win.go b/server/cmd/preconfig_win.go index baa28eb..d36c65a 100644 --- a/server/cmd/preconfig_win.go +++ b/server/cmd/preconfig_win.go @@ -29,7 +29,7 @@ func Preconfig(kill bool) { case <-pulse.C: { send := false - for i, torrent := range torr.ListTorrent() { + for _, torrent := range torr.ListTorrent() { if torrent.Stat != state.TorrentInDB { send = true break