feat(strategies): 1337 strategie

This commit is contained in:
Alexey Kasyanchuk
2018-12-23 00:24:05 +03:00
parent 9453ab8ba8
commit 44a800dbbb
7 changed files with 87 additions and 4 deletions

View File

@ -144,7 +144,7 @@ module.exports = function (send, recive, dataDirectory, version, env)
{
for(const tracker of this.trackers)
if(tracker.findHash)
tracker.findHash(hash).then(data => callback(tracker.name(), data))
tracker.findHash(hash).then(data => callback(tracker.name, data))
}
async close()