From 4d6adfd289105191d6aa48d52d8ca02d8723de65 Mon Sep 17 00:00:00 2001 From: Amish Shah Date: Wed, 23 Dec 2015 21:10:49 +0000 Subject: [PATCH] voice fixes --- lib/Voice/VoiceConnection.js | 1 - src/Voice/VoiceConnection.js | 1 - 2 files changed, 2 deletions(-) diff --git a/lib/Voice/VoiceConnection.js b/lib/Voice/VoiceConnection.js index 386d62ef5..6d53aa209 100644 --- a/lib/Voice/VoiceConnection.js +++ b/lib/Voice/VoiceConnection.js @@ -94,7 +94,6 @@ var VoiceConnection = (function (_EventEmitter) { if (this.streamProc) { this.streamProc.stdin.pause(); this.streamProc.kill("SIGINT"); - this.streamProc.kill(); } if (this.instream) { //not all streams implement these... diff --git a/src/Voice/VoiceConnection.js b/src/Voice/VoiceConnection.js index 24afa722d..04f81629d 100644 --- a/src/Voice/VoiceConnection.js +++ b/src/Voice/VoiceConnection.js @@ -65,7 +65,6 @@ export default class VoiceConnection extends EventEmitter { if (this.streamProc) { this.streamProc.stdin.pause(); this.streamProc.kill("SIGINT"); - this.streamProc.kill(); } if(this.instream){ //not all streams implement these...