From 33f717006b50164af33feca61cc6f42ff0d6a655 Mon Sep 17 00:00:00 2001 From: Maksim Chartkou Date: Mon, 27 Mar 2017 16:10:13 +0300 Subject: [PATCH] fix: this.log is not a function --- dao/socketServer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/socketServer.js b/dao/socketServer.js index 0296196..b1ade75 100644 --- a/dao/socketServer.js +++ b/dao/socketServer.js @@ -291,7 +291,7 @@ function startServer() { 'error', err ); - } + }.bind(this) ); this.server.maxConnections=this.config.maxConnections;