Handle characters getting added to the channelname when joining, throw more ES6 at everything

This commit is contained in:
khlieng 2015-02-21 11:36:10 +01:00
parent fca2985d9b
commit ed9a1c3216
8 changed files with 25 additions and 53 deletions

View file

@ -14,7 +14,7 @@ class Socket extends EventEmitter {
}
send(type, data) {
this.ws.send(JSON.stringify({ type: type, request: data }));
this.ws.send(JSON.stringify({ type, request: data }));
}
}