From 6d08bc60cf21311d6a7bc315d05e26df12fc1561 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Sat, 13 Sep 2014 12:58:10 +0200 Subject: [PATCH] Fix #664: Custom CTCP will leak the real reply --- src/IRCSock.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/IRCSock.cpp b/src/IRCSock.cpp index fe9e3061..16f04bfc 100644 --- a/src/IRCSock.cpp +++ b/src/IRCSock.cpp @@ -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++;