fix: allow ":" in message
All checks were successful
build / test-debian (push) Successful in 1m7s
build / test-alpine (push) Successful in 1m9s

This commit is contained in:
user0-07161 2026-02-15 22:15:46 +01:00
parent 4b96f57f44
commit 112e20a9f7

View file

@ -91,9 +91,9 @@ impl ClientCommand {
(None, true) => { (None, true) => {
buffer = Some(e[1..].to_string()); buffer = Some(e[1..].to_string());
} }
(Some(buf), starts_with_colon) => { (Some(buf), _) => {
buf.push(' '); buf.push(' ');
buf.push_str(if starts_with_colon { &e[1..] } else { &e }); buf.push_str(e);
} }
}); });