aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/command.rs
diff options
context:
space:
mode:
authorEskil Queseth <eskilq@kth.se>2021-03-24 21:38:51 +0100
committerEskil Queseth <eskilq@kth.se>2021-03-24 21:38:51 +0100
commitd484c05e56194346944b295968c66ccc0e543534 (patch)
tree41ee9fba2ad0841bffbd04b805ae6d675be7fb52 /mumd/src/command.rs
parenta5c26eaad44c45da852027d707bf1d8e838ed901 (diff)
downloadmum-d484c05e56194346944b295968c66ccc0e543534.tar.gz
remove ipc-channel dependency
Diffstat (limited to 'mumd/src/command.rs')
-rw-r--r--mumd/src/command.rs3
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>,