aboutsummaryrefslogtreecommitdiffstats
path: root/mumd/src/main.rs
diff options
context:
space:
mode:
Diffstat (limited to 'mumd/src/main.rs')
-rw-r--r--mumd/src/main.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/mumd/src/main.rs b/mumd/src/main.rs
index 797b71f..f837a52 100644
--- a/mumd/src/main.rs
+++ b/mumd/src/main.rs
@@ -119,13 +119,13 @@ async fn main() {
}
async fn send_commands(command_sender: mpsc::UnboundedSender<Command>, connect_command: Command) {
- command_sender.send(connect_command.clone());
+ command_sender.send(connect_command.clone()).unwrap();
tokio::time::delay_for(Duration::from_secs(2)).await;
- command_sender.send(Command::ServerDisconnect);
+ command_sender.send(Command::ServerDisconnect).unwrap();
tokio::time::delay_for(Duration::from_secs(2)).await;
- command_sender.send(connect_command.clone());
+ command_sender.send(connect_command.clone()).unwrap();
tokio::time::delay_for(Duration::from_secs(2)).await;
- command_sender.send(Command::ServerDisconnect);
+ command_sender.send(Command::ServerDisconnect).unwrap();
debug!("Finished sending commands");
}