Merge branch 'master' of github.com:chihaya/chihaya
This commit is contained in:
commit
34729e3c91
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ func updateSwarm(c Conn, w Writer, ann *models.Announce, p *models.Peer, t *mode
|
|||
t.Leechers[p.ID] = *p
|
||||
|
||||
default:
|
||||
if ann.Event != "" {
|
||||
if ann.Event != "" && ann.Event != "started" {
|
||||
err = models.ErrBadRequest
|
||||
w.WriteError(err)
|
||||
return
|
||||
|
|
Loading…
Reference in a new issue