diff --git a/irc/proto/src/parse.rs b/irc/proto/src/parse.rs index 62c0b389e..a2de75e2a 100644 --- a/irc/proto/src/parse.rs +++ b/irc/proto/src/parse.rs @@ -126,8 +126,8 @@ fn space(input: &str) -> IResult<&str, ()> { fn user(input: &str) -> IResult<&str, User> { // and @ let username = recognize(many1_count(none_of("\0\r\n @"))); - // "-" "[", "]", "\", "`", "_", "^", "{", "|", "}" - let special = one_of("-[]\\`_^{|}"); + // "-", "[", "]", "\", "`", "_", "^", "{", "|", "}", "*" + let special = one_of("-[]\\`_^{|}*"); // *( | | ) let nickname = recognize(many1_count(alt(( satisfy(|c| c.is_ascii_alphanumeric()),