X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fctcpparser.cpp;h=3c8a9d004f088cd5db9529d4c2e23d630bac4639;hp=2231df6d4f08bb6d29750d67bf20d0b79094ed63;hb=fa2e185ecffa83feca93577a2f8348d554e61f96;hpb=3966090a1e7093c417560f7ee13ab310215d9ccd diff --git a/src/core/ctcpparser.cpp b/src/core/ctcpparser.cpp index 2231df6d..3c8a9d00 100644 --- a/src/core/ctcpparser.cpp +++ b/src/core/ctcpparser.cpp @@ -192,6 +192,11 @@ void CtcpParser::parse(IrcEventRawMessage *e, Message::Type messagetype) flags |= Message::StatusMsg; } + // For self-messages, pass the flag on to the message, too + if (e->testFlag(EventManager::Self)) { + flags |= Message::Self; + } + if (coreSession()->networkConfig()->standardCtcp()) parseStandard(e, messagetype, dequotedMessage, ctcptype, flags); else