From cfaa16dfbb63e705263b484c71159bb9de93b165 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/ctcphandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ctcphandler.cpp b/src/core/ctcphandler.cpp index 56f8b332..5853ff88 100644 --- a/src/core/ctcphandler.cpp +++ b/src/core/ctcphandler.cpp @@ -155,7 +155,7 @@ void CtcpHandler::parse(Message::Type messageType, const QString &prefix, const ctcpparam = QString(); } - if(!_ignoreListManager->ctcpMatch(prefix, network()->networkName(), ctcpcmd.toUpper())) { + if(ctcpcmd.toUpper() == QLatin1String("ACTION") || !_ignoreListManager->ctcpMatch(prefix, network()->networkName(), ctcpcmd.toUpper())) { QString reply_; handle(ctcpcmd, Q_ARG(CtcpType, ctcptype), Q_ARG(QString, prefix), Q_ARG(QString, target), Q_ARG(QString, ctcpparam), Q_ARG(QString, reply_)); if(ctcptype == CtcpQuery && !reply_.isNull()) { -- 2.20.1