Change start command from resume to start

This commit is contained in:
John F
2015-05-08 13:22:28 -04:00
parent 7b912be7fd
commit 350f3958bc
+1 -1
View File
@@ -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);