Merge branch 'master' of github.com:chihaya/chihaya

This commit is contained in:
Jimmy Zelinskie 2014-07-23 01:20:54 -04:00
commit 34729e3c91

View file

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