Skip to content
This repository has been archived by the owner on Mar 28, 2018. It is now read-only.

Commit

Permalink
make _fromId default
Browse files Browse the repository at this point in the history
Signed-off-by: wanderer <mjbecze@gmail.com>
  • Loading branch information
wanderer committed Jan 4, 2018
1 parent 32594a8 commit 24082f1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,6 @@ module.exports = class Message extends EventEmitter {
}
})
})

// set by the kernel
this._fromTicks = 0
}

/**
Expand Down Expand Up @@ -85,7 +82,9 @@ module.exports = class Message extends EventEmitter {
return {
ticks: 0,
data: new Uint8Array([]),
caps: []
caps: [],
_fromId: Buffer.alloc(20),
_fromTicks: 0
}
}
}

0 comments on commit 24082f1

Please sign in to comment.