mirror of
https://github.com/znc/znc.git
synced 2026-03-28 17:42:41 +01:00
Fix #664: Custom CTCP will leak the real reply
This commit is contained in:
@@ -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++;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user