mirror of
https://github.com/znc/znc.git
synced 2026-07-02 16:02:02 +02:00
CString::Split() - Trim() value before pushing it to vsRet if bTrimWhiteSpace is true
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@1798 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
@@ -615,6 +615,10 @@ unsigned int CString::Split(const CString& sDelim, VCString& vsRet, bool bAllowE
|
||||
}
|
||||
|
||||
if (!sTmp.empty()) {
|
||||
if (bTrimWhiteSpace) {
|
||||
sTmp.Trim();
|
||||
}
|
||||
|
||||
vsRet.push_back(sTmp);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user