X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fctcpparser.cpp;h=d58d28d0721297b5b58c81389b945e1cd8a4c9d0;hp=f5257bb10063e69c71b2896e079360937baa72c9;hb=e8a39b4c3c92e193ab861a3fea84a261bb6fbd24;hpb=4259bc3c5b11164245535e011a69efa6937bb6a6 diff --git a/src/core/ctcpparser.cpp b/src/core/ctcpparser.cpp index f5257bb1..d58d28d0 100644 --- a/src/core/ctcpparser.cpp +++ b/src/core/ctcpparser.cpp @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2015 by the Quassel Project * + * Copyright (C) 2005-2018 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -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