fix: allow ":" in message
This commit is contained in:
parent
4b96f57f44
commit
112e20a9f7
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue