mod_yparser.cpp: fix compare and writing vars

Origin commit data
------------------
Branch: ni/coolstream
Commit: 37a6f90788
Author: GetAway <get-away@t-online.de>
Date: 2020-07-06 (Mon, 06 Jul 2020)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
GetAway
2020-07-06 22:40:59 +02:00
committed by vanhofen
parent f4992132a6
commit d2549fc3e7
2 changed files with 6 additions and 6 deletions

View File

@@ -101,12 +101,6 @@ bool ySplitString(std::string str, std::string delimiter, std::string& left,
left = str; //default if not found
right = "";
}
replace(left, "\r\n", "");
replace(left, "\n", "");
replace(right, "\r\n", "");
replace(right, "\n", "");
left = trim(left);
right = trim(right);
return (pos != std::string::npos);
}
//-------------------------------------------------------------------------