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

View File

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