diff options
| author | Eskil Queseth <eskilq@kth.se> | 2021-03-24 21:38:51 +0100 |
|---|---|---|
| committer | Eskil Queseth <eskilq@kth.se> | 2021-03-24 21:38:51 +0100 |
| commit | d484c05e56194346944b295968c66ccc0e543534 (patch) | |
| tree | 41ee9fba2ad0841bffbd04b805ae6d675be7fb52 /mumd/src/command.rs | |
| parent | a5c26eaad44c45da852027d707bf1d8e838ed901 (diff) | |
| download | mum-d484c05e56194346944b295968c66ccc0e543534.tar.gz | |
remove ipc-channel dependency
Diffstat (limited to 'mumd/src/command.rs')
| -rw-r--r-- | mumd/src/command.rs | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/mumd/src/command.rs b/mumd/src/command.rs index 653d1fa..3e462b1 100644 --- a/mumd/src/command.rs +++ b/mumd/src/command.rs @@ -5,7 +5,6 @@ use crate::network::{ }; use crate::state::{ExecutionContext, State}; -use ipc_channel::ipc::IpcSender; use log::*; use mumble_protocol::{Serverbound, control::ControlPacket}; use mumlib::command::{Command, CommandResponse}; @@ -16,7 +15,7 @@ pub async fn handle( state: Arc<Mutex<State>>, mut command_receiver: mpsc::UnboundedReceiver<( Command, - IpcSender<mumlib::error::Result<Option<CommandResponse>>>, + oneshot::Sender<mumlib::error::Result<Option<CommandResponse>>>, )>, tcp_event_register_sender: mpsc::UnboundedSender<(TcpEvent, TcpEventCallback)>, ping_request_sender: mpsc::UnboundedSender<PingRequest>, |
