fix(announce): torrent_hnr status

This commit is contained in:
OldHawk
2017-09-08 13:40:56 +08:00
parent aa8a8a70ac
commit 953e98ecd4

View File

@@ -294,7 +294,7 @@ exports.announce = function (req, res) {
done(185);
} else {
if (!t) {
if (t.torrent_hnr) {
if (req.torrent.torrent_hnr) {
var comp = new Complete();
comp.torrent = req.torrent._id;
comp.user = req.passkeyuser._id;