mirror of
https://github.com/taobataoma/meanTorrent.git
synced 2026-07-20 06:01:49 +02:00
fix(announce): fixed announce issue
This commit is contained in:
@@ -1337,7 +1337,7 @@ exports.announce = function (req, res) {
|
||||
function getPeers(count, peers) {
|
||||
var ps = [];
|
||||
|
||||
if (!req.seeder && event(query.event) !== EVENT_STOPPED && event(query.event) !== EVENT_COMPLETED) {
|
||||
if (event(query.event) !== EVENT_STOPPED) {
|
||||
mtDebug.debugGreen('---------------GET PEERS LIST----------------', 'ANNOUNCE', true, req.passkeyuser);
|
||||
mtDebug.debugRed('want.count = ' + count, 'ANNOUNCE', true, req.passkeyuser);
|
||||
mtDebug.debugRed('peers.length = ' + peers.length, 'ANNOUNCE', true, req.passkeyuser);
|
||||
|
||||
Reference in New Issue
Block a user