Default to announcing as leecher

This commit is contained in:
Matt Joiner 2022-12-17 11:08:46 +11:00
parent 6731a31839
commit 16da3c0c46
No known key found for this signature in database
GPG Key ID: 6B990B8185E7F782
1 changed files with 1 additions and 0 deletions

View File

@ -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