From ce523fa891da8dbb9ff52565b5ea028b241b431a Mon Sep 17 00:00:00 2001 From: Malte-Thorben Bruns Date: Sun, 26 Apr 2015 15:35:43 +0200 Subject: [PATCH] call: fix plugin-configure event --- lib/call.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/call.js b/lib/call.js index c8248ac..40b6265 100644 --- a/lib/call.js +++ b/lib/call.js @@ -66,8 +66,8 @@ module.exports = Call; Call.prototype.__configure = function(options) { var configuration = new Configuration(this, options); - this.rail.emit('plugin-configure', this, configuration); this._pointer = this._stack.push(configuration) - 1; + this.rail.emit('plugin-configure', this, configuration); return configuration; };