From 644837b45714e41246a8fd10fc6efc0e129280ff Mon Sep 17 00:00:00 2001 From: Manuel Nickschas Date: Tue, 26 Oct 2010 17:04:46 +0200 Subject: [PATCH] Don't have CTCP ignore rules apply to ACTIONs This accidentally slipped in 0f2c520a7. It's not at all intuitive for a user why /me should be a CTCP event, so we don't want to apply the CTCP ignore rules to that. --- src/core/ctcpparser.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/core/ctcpparser.cpp b/src/core/ctcpparser.cpp index 7619a697..1aa8c0ea 100644 --- a/src/core/ctcpparser.cpp +++ b/src/core/ctcpparser.cpp @@ -177,7 +177,8 @@ void CtcpParser::parse(IrcEventRawMessage *e, Message::Type messagetype) { ctcpcmd = ctcpcmd.toUpper(); - if(!coreSession()->ignoreListManager()->ctcpMatch(e->prefix(), e->network()->networkName(), ctcpcmd)) { + // we don't want to block /me messages by the CTCP ignore list + if(ctcpcmd == QLatin1String("ACTION") || !coreSession()->ignoreListManager()->ctcpMatch(e->prefix(), e->network()->networkName(), ctcpcmd)) { if(uuid.isNull()) uuid = QUuid::createUuid(); -- 2.20.1