Remove user snatches (should be handled by backend)

This commit is contained in:
Justin Li
2014-08-01 13:25:30 -04:00
parent 24b4437edd
commit 14fd5612af
4 changed files with 0 additions and 23 deletions

View File

@@ -171,14 +171,6 @@ func handleEvent(c Conn, ann *models.Announce) (snatched bool, err error) {
}
ann.Torrent.Snatches++
}
if snatched && ann.Config.PrivateEnabled {
err = c.IncrementUserSnatches(ann.User.Passkey)
if err != nil {
return
}
ann.User.Snatches++
}
return
}