fix: its the same

This commit is contained in:
kozabrada123 2023-12-29 12:54:46 +01:00
parent 91a27355a9
commit d08fe070d9
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ impl UdpHandle {
payload: Vec<u8>,
) -> Result<(), VoiceUdpError> {
let voice_ready_data_result = self.data.read().await.ready_data.clone();
if let None = voice_ready_data_result {
if voice_ready_data_result.is_none() {
return Err(VoiceUdpError::NoData);
}