fix message on downloading

This commit is contained in:
Alexey Kasyanchuk 2018-06-27 01:41:55 +03:00
parent 6bd4d69e4c
commit 27b46d15cc

View File

@ -589,7 +589,7 @@ module.exports = async ({
torrentClientHashMap[torrent.infoHash] = magnet
torrent.torrentObject = torrentObject
torrent.on('torrent', () => {
torrent.on('ready', () => {
console.log('start downloading', torrent.infoHash)
send('downloading', torrent.infoHash)
})