Fix emit args
This commit is contained in:
parent
9ad38f84a7
commit
95f4cd3fe2
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue