Index: lib/filterNotifier.js |
diff --git a/lib/filterNotifier.js b/lib/filterNotifier.js |
index 15d9fe9afd5f7067a47b2ae3760f83e6bacc2bbb..00f4d5861400287d0e99c99fc38f08cc2964bfc0 100644 |
--- a/lib/filterNotifier.js |
+++ b/lib/filterNotifier.js |
@@ -47,7 +47,7 @@ exports.FilterNotifier = Object.create(new EventEmitter(), desc({ |
*/ |
addListener(listener) |
{ |
- let listeners = this._listeners[CATCH_ALL]; |
+ let listeners = this._listeners.get(CATCH_ALL); |
if (!listeners || listeners.indexOf(listener) == -1) |
this.on(CATCH_ALL, listener); |
}, |