diff --git a/include/ircd/rfc1459_gen.h b/include/ircd/rfc1459_gen.h index dbff665bb..db4028667 100644 --- a/include/ircd/rfc1459_gen.h +++ b/include/ircd/rfc1459_gen.h @@ -122,7 +122,7 @@ rfc1459::gen::grammar::grammar(karma::rule &top_rule) } ,middle // Spaced parameters { - ~char_(":\x20\r\n") << +(~char_("\x20\r\n")) + ~char_(":\x20\r\n") << *(~char_("\x20\r\n")) ,"middle" } ,params //TODO: this doesn't work yet, don't use diff --git a/ircd/fmt.cc b/ircd/fmt.cc index 4ad44754c..9fbcfa6d6 100644 --- a/ircd/fmt.cc +++ b/ircd/fmt.cc @@ -476,7 +476,7 @@ const { karma::rule printable { - +char_(rfc1459::character::gather(rfc1459::character::PRINT)) + *char_(rfc1459::character::gather(rfc1459::character::PRINT)) }; generator(): grammar{printable} {}