From 9054c1364ab0a78e66e7bd7e6e731f6101abe81b Mon Sep 17 00:00:00 2001 From: Justin Li Date: Wed, 23 Jul 2014 01:20:25 -0400 Subject: [PATCH] Don't error if the client is sending a started event --- tracker/announce.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracker/announce.go b/tracker/announce.go index 44c8a04..303e1c2 100644 --- a/tracker/announce.go +++ b/tracker/announce.go @@ -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