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.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/mumd/src/main.rs b/mumd/src/main.rs
index c923857..812e7a1 100644
--- a/mumd/src/main.rs
+++ b/mumd/src/main.rs
@@ -12,17 +12,14 @@ use argparse::Store;
use argparse::StoreTrue;
use colored::*;
use tokio::sync::oneshot;
-use futures::{join, select};
+use futures::join;
use log::*;
use mumble_protocol::control::ControlPacket;
use mumble_protocol::crypt::ClientCryptState;
use mumble_protocol::voice::Serverbound;
use std::sync::{Arc, Mutex};
use tokio::sync::{mpsc, watch};
-use std::thread;
use std::time::Duration;
-use tokio::stream::StreamExt;
-use futures::FutureExt;
#[tokio::main]
async fn main() {
@@ -85,7 +82,7 @@ async fn main() {
command_sender.send(Command::ServerConnect{host: server_host, port: server_port, username: username.clone(), accept_invalid_cert});
//command_sender.send(Command::ChannelJoin{channel_id: 1}).unwrap();
command_sender.send(Command::ChannelList).unwrap();
- let state = State::new(packet_sender, command_sender.clone(), connection_info_sender, username);
+ let state = State::new(packet_sender, command_sender.clone(), connection_info_sender);
let state = Arc::new(Mutex::new(state));
// Run it