diff --git a/Cargo.lock b/Cargo.lock index bcf33da..0edf79b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1022,9 +1022,9 @@ dependencies = [ [[package]] name = "toml" -version = "1.0.0+spec-1.1.0" +version = "1.0.1+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d1d7e18e3dd1d31e0ee5e863a8091ffec2fcc271636586042452b656a22c8ee1" +checksum = "bbe30f93627849fa362d4a602212d41bb237dc2bd0f8ba0b2ce785012e124220" dependencies = [ "indexmap", "serde_core", @@ -1046,9 +1046,9 @@ dependencies = [ [[package]] name = "toml_parser" -version = "1.0.7+spec-1.1.0" +version = "1.0.8+spec-1.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "247eaa3197818b831697600aadf81514e577e0cba5eab10f7e064e78ae154df1" +checksum = "0742ff5ff03ea7e67c8ae6c93cac239e0d9784833362da3f9a9c1da8dfefcbdc" dependencies = [ "winnow", ] diff --git a/src/commands/pass.rs b/src/commands/pass.rs index 979ef34..480d7e7 100644 --- a/src/commands/pass.rs +++ b/src/commands/pass.rs @@ -18,6 +18,8 @@ impl IrcHandler for Pass { server_incoming_passwords: Vec, _user_passwords: Vec, ) -> Vec { + // XXX + if server_incoming_passwords.contains(&command[0]) { vec![ IrcAction::SendText(crate::sender::IrcResponse { diff --git a/src/ts6/mod.rs b/src/ts6/mod.rs index 144a816..989b559 100644 --- a/src/ts6/mod.rs +++ b/src/ts6/mod.rs @@ -113,7 +113,7 @@ impl Ts6 { // TODO: refactor this entire thing. we need hostmask and ip and such fully working IrcResponse { - sender: Some(my_sid.clone().to_string()), + sender: Some(hostname.to_string()), command: "UID".to_string(), receiver: None, arguments: vec![