0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-11 14:38:57 +02:00

ircd::rfc1459: Adjust grammar to allow 'empty message' of "\r\n"

This commit is contained in:
Jason Volk 2016-09-06 19:38:40 -07:00
parent 9275429ee1
commit cead127c73

View file

@ -251,7 +251,7 @@ rfc1459::parser<it>::parser()
}
,frame // A message frame
{
eps > (-(prefix >> +space) >> command >> params >> terminator)
eps > (-(-(prefix >> +space) >> command >> params) >> terminator)
,"frame"
}
{