1
0
mirror of https://github.com/stryan/mumble-discord-bridge.git synced 2024-12-28 17:15:40 -05:00

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 {
log.Println(err)
b.DiscordVoice.Disconnect()
return
}
defer b.MumbleClient.Disconnect()