diff --git a/src/cri.rs b/src/cri.rs index bf70d5c..9931225 100644 --- a/src/cri.rs +++ b/src/cri.rs @@ -145,13 +145,13 @@ impl Cri { } fn handle_quit_command(&self, tokens: &mut SplitWhitespace<'_>) { - let reason: String = tokens.intersperse(" ").collect(); + let reason: String = Itertools::intersperse(tokens, " ").collect(); let reason = if reason.trim().is_empty() { None } else { Some(reason) }; - + self.input_tx .borrow() .send(IrcCommand::QUIT(reason).into())