From 15ccaca41a17a06dfb5957156c03056524a71ae6 Mon Sep 17 00:00:00 2001 From: Alexey Sokolov Date: Sun, 18 Feb 2018 23:04:14 +0000 Subject: [PATCH] Stop buffering and echoing CTCP requests and responses to other clients, except for /me Fix interaction between self-message and CTCP: CTCP request from client A gets reflected from ZNC to client B, because B has self-message. B sees this as a usual CTCP request (from the same nick), and replies (to the same nick). ZNC reflects that response to A because A has self-message, and also passes that response to IRC server, which sends that response back to ZNC, which sends it to its both clients. Close #1488 --- src/Client.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/Client.cpp b/src/Client.cpp index 9ef4b984..5dabd00f 100644 --- a/src/Client.cpp +++ b/src/Client.cpp @@ -1021,8 +1021,6 @@ bool CClient::OnCTCPMessage(CCTCPMessage& Message) { } if (m_pNetwork) { - AddBuffer(Message); - EchoMessage(Message); PutIRC(Message.ToString(CMessage::ExcludePrefix | CMessage::ExcludeTags)); }