diff --git a/lib/Interactor/PushInteractor.js b/lib/Interactor/PushInteractor.js index 958c9930..0199e3fd 100644 --- a/lib/Interactor/PushInteractor.js +++ b/lib/Interactor/PushInteractor.js @@ -70,7 +70,7 @@ var PushInteractor = module.exports = { * Connect to target host or reconnect if null is passed * the host param must be formated like (http://HOST:PORT) */ - connectRemote : function(hostname, cb) { + connectRemote : function(hostname) { if (hostname) hostname = Url.parse(hostname).hostname; else if (this.socket && this.socket.host)