Handle characters getting added to the channelname when joining, throw more ES6 at everything
This commit is contained in:
parent
fca2985d9b
commit
ed9a1c3216
8 changed files with 25 additions and 53 deletions
|
@ -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 }));
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue