mirror of
https://github.com/znc/znc.git
synced 2026-08-06 08:52:57 +02:00
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:
+2
-2
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user