on mumble connect failure disconnect from discord too

This commit is contained in:
stryan 2021-01-26 10:33:47 -05:00
parent 3b73e89ae7
commit 4717bdec27
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()