*Bug fix slave
This commit is contained in:
parent
eb4a8f1c9e
commit
2b645af1e9
2
index.js
2
index.js
|
@ -304,7 +304,7 @@ module.exports = class Protomux {
|
||||||
|
|
||||||
this._infos = new Map();
|
this._infos = new Map();
|
||||||
this._notify = new Map();
|
this._notify = new Map();
|
||||||
this._slave = false;
|
this._slave = slave;
|
||||||
|
|
||||||
this.stream.on("data", this._ondata.bind(this));
|
this.stream.on("data", this._ondata.bind(this));
|
||||||
this.stream.on("end", this._onend.bind(this));
|
this.stream.on("end", this._onend.bind(this));
|
||||||
|
|
Reference in New Issue