Default to announcing as leecher
This commit is contained in:
parent
6731a31839
commit
16da3c0c46
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue