mirror of
https://github.com/sot-tech/mochi.git
synced 2026-06-21 03:38:26 -07:00
Merge branch 'master' of github.com:chihaya/chihaya
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user