mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01: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:
4
User.cpp
4
User.cpp
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user