Small optimization

nostruct
Stein Ivar Berghei 2022-11-23 08:38:55 +01:00
parent 09fe6ae380
commit f160c3855e
1 changed files with 1 additions and 2 deletions

View File

@ -127,9 +127,8 @@ func update() {
return
}
if voice.Ready == false || voice.OpusSend == nil {
if !voice.Ready || voice.OpusSend == nil {
return
}
voice.OpusSend <- opus
}