Update socketServer.js
This commit is contained in:
parent
0c5156cf15
commit
b0b0f38a78
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue