mirror of
https://github.com/stryan/mumble-discord-bridge.git
synced 2024-11-14 19:45:41 -05:00
fix mutexes
This commit is contained in:
parent
2e83d6d515
commit
e035baa3e9
@ -201,8 +201,8 @@ func (l *Listener) voiceUpdate(s *discordgo.Session, event *discordgo.VoiceState
|
|||||||
}
|
}
|
||||||
l.ConnectedLock.Unlock()
|
l.ConnectedLock.Unlock()
|
||||||
l.Bridge.DiscordUserCount = count
|
l.Bridge.DiscordUserCount = count
|
||||||
l.UserCountLock.Unlock()
|
|
||||||
}
|
}
|
||||||
|
l.UserCountLock.Unlock()
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user