mirror of
https://github.com/znc/znc.git
synced 2026-06-22 19:15:03 +02:00
Moved some more functions from CUtils into CString
git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@246 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
+2
-2
@@ -3,8 +3,8 @@
|
||||
void CDCCBounce::ReadLine(const CString& sData) {
|
||||
CString sLine = sData;
|
||||
|
||||
while ((CUtils::Right(sLine, 1) == "\r") || (CUtils::Right(sLine, 1) == "\n")) {
|
||||
CUtils::RightChomp(sLine);
|
||||
while ((sLine.Right(1) == "\r") || (sLine.Right(1) == "\n")) {
|
||||
sLine.RightChomp();
|
||||
}
|
||||
|
||||
DEBUG_ONLY(cout << GetSockName() << " <- [" << sLine << "]" << endl);
|
||||
|
||||
Reference in New Issue
Block a user