diff --git a/index.js b/index.js index 41139a2..e2998dd 100644 --- a/index.js +++ b/index.js @@ -304,7 +304,7 @@ module.exports = class Protomux { this._infos = new Map(); this._notify = new Map(); - this._slave = false; + this._slave = slave; this.stream.on("data", this._ondata.bind(this)); this.stream.on("end", this._onend.bind(this));