From 74a64c249e0371890f4bb03ee8cd17b5059ddc4c Mon Sep 17 00:00:00 2001 From: Eskil Queseth Date: Sat, 17 Oct 2020 18:45:51 +0200 Subject: minor changes --- mumctl/src/main.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mumctl/src') diff --git a/mumctl/src/main.rs b/mumctl/src/main.rs index 0020c55..2db9ded 100644 --- a/mumctl/src/main.rs +++ b/mumctl/src/main.rs @@ -71,9 +71,8 @@ fn main() { Err(e) => println!("{} {}", "error:".red(), e), } } else if let Some(matches) = matches.subcommand_matches("connect") { - let channel_arg = matches.value_of("channel").unwrap(); err_print!(send_command(Command::ChannelJoin { - channel_identifier: channel_arg.to_string() + channel_identifier: matches.value_of("channel").unwrap().to_string() })); } } else if let Some(_matches) = matches.subcommand_matches("status") { -- cgit v1.2.1