Added ParseISupport() for raw 005

git-svn-id: https://znc.svn.sourceforge.net/svnroot/znc/trunk@262 726aef4b-f618-498e-8847-2d620e286838
This commit is contained in:
prozacx
2005-05-11 05:27:54 +00:00
parent 9e10737339
commit 5c3266adfb
2 changed files with 9 additions and 1 deletions
+7 -1
View File
@@ -17,6 +17,7 @@ CIRCSock::CIRCSock(CZNC* pZNC, CUser* pUser) : Csock() {
m_MotdBuffer.SetLineCount(200); // This should be more than enough motd lines
m_Nick.SetIdent(pUser->GetIdent());
m_Nick.SetHost(pUser->GetVHost());
m_sNickPrefixes = "+@";
}
CIRCSock::~CIRCSock() {
@@ -103,10 +104,11 @@ void CIRCSock::ReadLine(const CString& sData) {
break;
}
case 5:
ParseISupport(sRest);
case 2:
case 3:
case 4:
case 5:
case 250: // highest connection count
case 251: // user count
case 252: // oper count
@@ -765,6 +767,7 @@ void CIRCSock::UserConnected(CUserSock* pUserSock) {
// Send the cached MOTD
if (m_MotdBuffer.IsEmpty()) {
PutServ("MOTD");
} else {
unsigned int uIdx = 0;
CString sLine;
@@ -860,3 +863,6 @@ void CIRCSock::ConnectionRefused() {
m_pUser->PutStatus("Connection Refused. Reconnecting...");
}
void CIRCSock::ParseISupport(const CString& sLine) {
DEBUG_ONLY(cout << "------[" << sLine << "]" << endl);
}