voice: backport null key fix

This commit is contained in:
Amish Shah
2018-04-29 18:53:50 +01:00
parent 33a4232652
commit 5f50d9e627

View File

@@ -171,7 +171,7 @@ class StreamDispatcher extends VolumeInterface {
processPacket(packet) {
try {
if (this.destroyed) {
if (this.destroyed || !this.player.voiceConnection.authentication.secretKey) {
this.setSpeaking(false);
return;
}