on mumble connect failure disconnect from discord too

This commit is contained in:
stryan 2021-01-26 10:33:47 -05:00
parent 8a308969fb
commit ed99e7aa8f
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ func (b *BridgeState) startBridge() {
if err != nil {
log.Println(err)
b.DiscordVoice.Disconnect()
return
}
defer b.MumbleClient.Disconnect()