mirror of
https://github.com/zoriya/flood.git
synced 2026-05-30 10:08:36 +00:00
Change start command from resume to start
This commit is contained in:
Vendored
+1
-1
@@ -312,7 +312,7 @@ client.prototype.startTorrent = function(hash, callback) {
|
||||
|
||||
for (i = 0, len = hash.length; i < len; i++) {
|
||||
|
||||
rTorrent.get('d.resume', [hash[i]]).then(function(data) {
|
||||
rTorrent.get('d.start', [hash[i]]).then(function(data) {
|
||||
callback(null, data);
|
||||
}, function(error) {
|
||||
callback(error, null);
|
||||
|
||||
Reference in New Issue
Block a user