Moved CUtils::Trim() into CString class

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@247 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-08 04:30:14 +00:00
parent 078bbcf019
commit 511832a8d6
11 changed files with 31 additions and 31 deletions
+2 -2
View File
@@ -258,7 +258,7 @@ void CIRCSock::ReadLine(const CString& sData) {
break;
}
case 324: { // MODE
CUtils::Trim(sRest);
sRest.Trim();
CChan* pChan = m_pUser->FindChan(sRest.Token(0));
if (pChan) {
@@ -267,7 +267,7 @@ void CIRCSock::ReadLine(const CString& sData) {
}
break;
case 353: { // NAMES
CUtils::Trim(sRest);
sRest.Trim();
// Todo: allow for non @+= server msgs
CChan* pChan = m_pUser->FindChan(sRest.Token(1));
if (pChan) {