File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -303,13 +303,13 @@ Server.prototype.onWebSocketConnection = function (socket, opts) {
303303 socket . onSend = self . _onWebSocketSend . bind ( self , socket )
304304
305305 socket . onMessageBound = self . _onWebSocketRequest . bind ( self , socket , opts )
306- socket . on ( 'message' , self . onMessageBound )
306+ socket . on ( 'message' , socket . onMessageBound )
307307
308308 socket . onErrorBound = self . _onWebSocketError . bind ( self , socket )
309- socket . on ( 'error' , self . onErrorBound )
309+ socket . on ( 'error' , socket . onErrorBound )
310310
311311 socket . onCloseBound = self . _onWebSocketClose . bind ( self , socket )
312- socket . on ( 'close' , self . onCloseBound )
312+ socket . on ( 'close' , socket . onCloseBound )
313313}
314314
315315Server . prototype . _onWebSocketRequest = function ( socket , opts , params ) {
You can’t perform that action at this time.
0 commit comments