From 2b645af1e93a5fa071727f226940bc4a1122eca3 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Thu, 6 Apr 2023 17:10:08 -0400 Subject: [PATCH] *Bug fix slave --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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));