Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions crates/tiny/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ impl<'de> Deserialize<'de> for PassOrCmd {
))),
},
_ => Err(D::Error::custom(
"Expeted a 'cmd' key in password map with string value",
"Expected a 'cmd' key in password map with string value",
)),
},
_ => Err(D::Error::custom("Password field must be a string or map")),
Expand Down Expand Up @@ -231,7 +231,7 @@ impl Config<PassOrCmd> {

if self.defaults.nicks.is_empty() {
errors.push(
"Default nick list can't be empty, please add at least one defaut nick".to_owned(),
"Default nick list can't be empty, please add at least one default nick".to_owned(),
);
}

Expand Down
4 changes: 2 additions & 2 deletions crates/tiny/src/conn.rs
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ fn handle_irc_msg(ui: &UI, client: &dyn Client, msg: wire::Msg) {
if params.iter().any(|cap| cap.as_str() == "sasl") {
let msg_target = MsgTarget::Server { serv };
ui.add_err_msg(
"Server rejected using SASL authenication capability",
"Server rejected using SASL authentication capability",
time::now(),
&msg_target,
);
Expand All @@ -463,7 +463,7 @@ fn handle_irc_msg(ui: &UI, client: &dyn Client, msg: wire::Msg) {
if !params.iter().any(|cap| cap.as_str() == "sasl") {
let msg_target = MsgTarget::Server { serv };
ui.add_err_msg(
"Server does not support SASL authenication",
"Server does not support SASL authentication",
time::now(),
&msg_target,
);
Expand Down
Loading