diff --git a/lib/main.js b/lib/main.js index 736c7a04..0931f362 100644 --- a/lib/main.js +++ b/lib/main.js @@ -229,7 +229,7 @@ function $main(options) { } }; this.connection.on(`parameterStatus`, handler); - originalClientConnect.call(this, ...arguments); + return originalClientConnect.call(this, ...arguments); }; } }