diff --git a/lib/client/websocket-tracker.js b/lib/client/websocket-tracker.js index 8b00aaf..280ca8f 100644 --- a/lib/client/websocket-tracker.js +++ b/lib/client/websocket-tracker.js @@ -166,7 +166,7 @@ WebSocketTracker.prototype._onSocketData = function (data) { self._trackerId = trackerId } - if (data.complete) { + if (data.complete != null) { self.client.emit('update', { announce: self.announceUrl, complete: data.complete,