actually add fix

This commit is contained in:
stryan 2021-04-15 12:03:50 -04:00
parent 0cad36f783
commit 60e73c6b4f

View File

@ -235,7 +235,7 @@ func (b *BridgeState) discordStatusUpdate() {
b.MumbleUserCount = b.MumbleUserCount - 1 b.MumbleUserCount = b.MumbleUserCount - 1
} }
if b.MumbleUserCount == 0 { if b.MumbleUserCount == 0 {
status = "" status = " "
} else { } else {
if len(b.MumbleUsers) > 0 { if len(b.MumbleUsers) > 0 {
status = fmt.Sprintf("%v/%v users in Mumble\n", len(b.MumbleUsers), b.MumbleUserCount) status = fmt.Sprintf("%v/%v users in Mumble\n", len(b.MumbleUsers), b.MumbleUserCount)