Default to announcing as leecher

(cherry picked from commit 16da3c0c46)
This commit is contained in:
Matt Joiner 2022-12-17 11:08:46 +11:00
parent e235776204
commit 61a303cbf7
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