Changed CString::Token() to split on a string rather than char

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@398 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-06-30 21:51:41 +00:00
parent edf0434fde
commit 3e0c33b053
4 changed files with 17 additions and 14 deletions
+2 -2
View File
@@ -52,8 +52,8 @@ void CUserSock::ReadLine(const CString& sData) {
m_sPass = sLine.Token(1);
if (m_sPass.find(":") != CString::npos) {
m_sUser = m_sPass.Token(0, false, ':');
m_sPass = m_sPass.Token(1, true, ':');
m_sUser = m_sPass.Token(0, false, ":");
m_sPass = m_sPass.Token(1, true, ":");
}
if ((m_bGotNick) && (m_bGotUser)) {