fix some stuff

This commit is contained in:
Amish Shah
2016-10-24 20:13:44 +01:00
parent 5749eb6bb0
commit 1a5ce878a1
6 changed files with 34 additions and 11 deletions

View File

@@ -77,7 +77,6 @@ class VoiceWebSocket extends EventEmitter {
send(data) {
return new Promise((resolve, reject) => {
if (this.ws.readyState === WebSocket.OPEN) {
console.log('sending', data);
this.ws.send(data, null, error => {
if (error) {
reject(error);