diff --git a/modules/torrents/server/controllers/torrents.server.controller.js b/modules/torrents/server/controllers/torrents.server.controller.js index 7ccd1614..85ec9576 100644 --- a/modules/torrents/server/controllers/torrents.server.controller.js +++ b/modules/torrents/server/controllers/torrents.server.controller.js @@ -513,6 +513,10 @@ exports.download = function (req, res) { return res.status(703).send({ message: 'SERVER.CAN_NOT_DOWNLOAD_IDLE' }); + } else if (req.torrent.torrent_status !== 'reviewed') { + return res.status(704).send({ + message: 'SERVER.TORRENT_STATUS_ERROR' + }); } else { fs.exists(filePath, function (exists) { if (exists) {