aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/command.rs
diff options
context:
space:
mode:
authorGustav Sörnäs <gustav@sornas.net>2021-03-29 11:17:54 +0200
committerGitHub <noreply@github.com>2021-03-29 11:17:54 +0200
commitc6a5774443099c747bce938e6f87299397819c2b (patch)
tree21ee198b7114d90e3523e7f25bbeb881bcdb0842 /mumd/src/command.rs
parent8501432530f19cb2be86815697c82abbe4482275 (diff)
parent80cedde5d6868f5e4db85db2c80825e49d981a48 (diff)
downloadmum-c6a5774443099c747bce938e6f87299397819c2b.tar.gz
Merge pull request #74 from mum-rs/yeet-ipc
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>,