diff options
author | nkavian <nas@sixclovers.com> | 2021-07-10 01:00:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 01:00:12 +0300 |
commit | 5c79c0a01424087e4c37776d86ef745191504df4 (patch) | |
tree | 5debb550e0e14cbfafcd3cf9ae59b9e79507d290 /lib | |
parent | a87ebbe8b86cd73b8d5b4402501595b358217e79 (diff) |
feat: support adding paused torrents. (#2004)
* Support adding paused torrents.
* chore: use arrows, because semantic
Co-authored-by: Nas Kavian <>
Co-authored-by: Diego RodrÃguez Baquero <github@diegorbaquero.com>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/torrent.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/torrent.js b/lib/torrent.js index 8b96e14..f60d459 100644 --- a/lib/torrent.js +++ b/lib/torrent.js @@ -97,7 +97,7 @@ class Torrent extends EventEmitter { this.ready = false this.destroyed = false - this.paused = false + this.paused = opts.paused || false this.done = false this.metadata = null |