aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/command.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumd/src/command.rs')
-rw-r--r--mumd/src/command.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/mumd/src/command.rs b/mumd/src/command.rs
index e1c91ab..1337dce 100644
--- a/mumd/src/command.rs
+++ b/mumd/src/command.rs
@@ -57,9 +57,7 @@ pub async fn handle(
id,
addr,
Box::new(move |packet| {
- if let Some(packet) = packet {
- response_sender.send(converter(packet)).unwrap();
- }
+ response_sender.send(converter(packet)).unwrap();
}),
));
if res.is_err() {