Auto-reformat code

This commit is contained in:
Tobias Reisinger 2023-11-17 17:43:29 +01:00
parent 463bc99b9c
commit 1002782e8f
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
8 changed files with 41 additions and 33 deletions

View file

@ -1,13 +1,14 @@
use std::process::exit;
use telnet::Telnet;
use std::time::Duration;
use telnet::Event::TimedOut;
use telnet::Telnet;
use crate::{commands, parameter};
use crate::parameter::{parameter_list_find_all, ParameterList};
use crate::response::Response;
use crate::response::channel::ResponseChannel;
use crate::response::client::ResponseClient;
use crate::response::Response;
pub fn skip_welcome(connection: &mut Telnet) {
loop {
@ -31,7 +32,7 @@ pub fn login(connection: &mut Telnet) {
});
match commands::login(connection, &apikey) {
Ok(_) => {},
Ok(_) => {}
Err(msg) => {
println!("Failed to authenticate with Teamspeak: {}", msg);
exit(1);