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:
prozacx
2005-05-07 11:42:10 +00:00
parent 11ae1b690f
commit 078bbcf019
9 changed files with 200 additions and 232 deletions

View File

@@ -199,9 +199,9 @@ bool CUser::AddServer(const CString& sName) {
CString sHost = sLine.Token(0);
CString sPort = sLine.Token(1);
if (CUtils::Left(sPort, 1) == "+") {
if (sPort.Left(1) == "+") {
bSSL = true;
CUtils::LeftChomp(sPort);
sPort.LeftChomp();
}
unsigned short uPort = strtoul(sPort.c_str(), NULL, 10);