From f85c3bb6cee316746385a4343c112e7cd9b7da19 Mon Sep 17 00:00:00 2001 From: Nikita Vilunov Date: Mon, 6 Nov 2023 22:04:10 +0100 Subject: [PATCH] fix --- crates/projection-irc/src/lib.rs | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/crates/projection-irc/src/lib.rs b/crates/projection-irc/src/lib.rs index 33657fa..ee7fbb8 100644 --- a/crates/projection-irc/src/lib.rs +++ b/crates/projection-irc/src/lib.rs @@ -191,8 +191,6 @@ async fn handle_registration<'a>( username, realname, }; - dbg!(&enabled_capabilities); - dbg!(&validated_user); if enabled_capabilities.contains(Capabilities::Sasl) && validated_user.as_ref() == Some(&candidate_user.nickname) { @@ -334,19 +332,6 @@ async fn handle_registered_socket<'a>( let player_id = PlayerId::from(user.nickname.clone())?; let mut connection = players.connect_to_player(player_id.clone()).await; - // ServerMessage { - // tags: vec![], - // sender: Some(config.server_name.clone().into()), - // body: ServerMessageBody::Notice { - // first_target: "*".into(), - // rest_targets: vec![], - // text: "Welcome to my server!".into(), - // }, - // } - // .write_async(writer) - // .await?; - // writer.flush().await?; - ServerMessage { tags: vec![], sender: Some(config.server_name.clone()),