[fix] dont use bind in the one case we do

This commit is contained in:
Jarrett Cruger 2015-04-22 11:09:05 -04:00
parent 607f96c00c
commit d26ef56e1b

View File

@ -104,7 +104,7 @@ function ProxyServer(options) {
return ws[pass];
});
this.on('error', this.onError.bind(this));
this.on('error', this.onError, this);
}