From b0b0f38a78995f4a1739893c74d24c4f699213d0 Mon Sep 17 00:00:00 2001 From: liaoxuezhi Date: Tue, 31 May 2016 23:13:13 +0800 Subject: [PATCH] Update socketServer.js --- dao/socketServer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dao/socketServer.js b/dao/socketServer.js index 9b5124b..30da351 100644 --- a/dao/socketServer.js +++ b/dao/socketServer.js @@ -16,7 +16,7 @@ function emit(socket, type, data){ message.data=data; if(this.config.rawBuffer){ - console.log(this.config.encoding) + this.log(this.config.encoding) message=new Buffer(type,this.config.encoding); }else{ message=eventParser.format(message);