0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-09-28 19:58:53 +02:00

ircd::conf: No longer care about conf whitespace...

This commit is contained in:
Jason Volk 2018-03-23 15:38:46 -07:00
parent 9306e7c32e
commit 62861f2540

View file

@ -170,13 +170,6 @@ try
ss.str()
};
// ensure any trailing cruft is removed to not set off the validator
if(endswith(read, '\n'))
read.pop_back();
if(endswith(read, '\r'))
read.pop_back();
// grammar check; throws on error
json::valid(read);