From: Matt Joiner Date: Sat, 17 Dec 2022 00:08:46 +0000 (+1100) Subject: Default to announcing as leecher X-Git-Tag: v1.49.0~7^2~11 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=16da3c0c46a71d6f270600c63acb674226c1c9ae;p=btrtrc.git Default to announcing as leecher --- diff --git a/cmd/torrent/announce.go b/cmd/torrent/announce.go index f48dfd2a..31676d9a 100644 --- a/cmd/torrent/announce.go +++ b/cmd/torrent/announce.go @@ -23,6 +23,7 @@ func announceErr(flags AnnounceCmd) error { Port: uint16(torrent.NewDefaultClientConfig().ListenPort), NumWant: -1, Event: flags.Event, + Left: -1, } if flags.Port != nil { req.Port = *flags.Port