From 95f4cd3fe25387c354fcfeeec1df49a0a21ca9ed Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Sat, 3 Mar 2018 21:16:01 -0700 Subject: [PATCH] Fix emit args --- core/events.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/events.js b/core/events.js index 5febb463..1838e087 100644 --- a/core/events.js +++ b/core/events.js @@ -22,7 +22,7 @@ module.exports = new class Events extends events.EventEmitter { emit(event, ...args) { Log.trace( { event : event }, 'Emitting event'); - return super.emit(event, args); + return super.emit(event, ...args); } on(event, listener) {