Merge pull request #666 from jpnurmi/ctcp

Fix #664: Custom CTCP will leak the real reply
This commit is contained in:
Uli Schlachter
2014-09-13 14:25:58 +02:00
+1 -1
View File
@@ -933,7 +933,7 @@ bool CIRCSock::OnGeneralCTCP(CNick& Nick, CString& sMessage) {
// If we are over the limit, don't reply to this CTCP
if (m_uNumCTCP >= m_uCTCPFloodCount) {
DEBUG("CTCP flood detected - not replying to query");
return false;
return true;
}
m_uNumCTCP++;