Fix #664: Custom CTCP will leak the real reply

This commit is contained in:
J-P Nurmi
2014-09-13 12:58:10 +02:00
parent ea53813477
commit 6d08bc60cf

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++;