diff options
Diffstat (limited to 'src/voice/connection.rs')
| -rw-r--r-- | src/voice/connection.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/voice/connection.rs b/src/voice/connection.rs index 1b018cb..29a426c 100644 --- a/src/voice/connection.rs +++ b/src/voice/connection.rs @@ -489,7 +489,7 @@ fn start_threads(client: Arc<Mutex<Client>>, udp: &UdpSocket) -> Result<ThreadIt }, }; - if tx_clone.send(ReceiverStatus::Websocket(msg)).is_ok() { + if tx_clone.send(ReceiverStatus::Websocket(msg)).is_err() { return; } } |