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:
parent
9306e7c32e
commit
62861f2540
1 changed files with 0 additions and 7 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue