X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fctcpevent.h;h=18032033c697bbf4d58f82c70a122ad2fc0cf7ba;hb=285215315e6f2420724532323a4b1bccae156cb1;hp=a6c5462dbab6f1e44d40933217152db5b0f901e2;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003;p=quassel.git diff --git a/src/common/ctcpevent.h b/src/common/ctcpevent.h index a6c5462d..18032033 100644 --- a/src/common/ctcpevent.h +++ b/src/common/ctcpevent.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2019 by the Quassel Project * + * Copyright (C) 2005-2020 by the Quassel Project * * devel@quassel-irc.org * * * * This program is free software; you can redistribute it and/or modify * @@ -39,14 +39,15 @@ public: explicit CtcpEvent(EventManager::EventType type, Network* network, - const QString& prefix, + QHash tags, + QString prefix, QString target, CtcpType ctcpType, QString ctcpCmd, QString param, const QDateTime& timestamp = QDateTime(), const QUuid& uuid = QUuid()) - : IrcEvent(type, network, prefix) + : IrcEvent(type, network, std::move(tags), std::move(prefix)) , _ctcpType(ctcpType) , _ctcpCmd(std::move(ctcpCmd)) , _target(std::move(target)) @@ -84,9 +85,12 @@ protected: inline void debugInfo(QDebug& dbg) const override { NetworkEvent::debugInfo(dbg); - dbg << ", prefix = " << qPrintable(prefix()) << ", target = " << qPrintable(target()) - << ", ctcptype = " << (ctcpType() == Query ? "query" : "reply") << ", cmd = " << qPrintable(ctcpCmd()) - << ", param = " << qPrintable(param()) << ", reply = " << qPrintable(reply()); + dbg << ", prefix = " << qPrintable(prefix()) + << ", target = " << qPrintable(target()) + << ", ctcptype = " << (ctcpType() == Query ? "query" : "reply") + << ", cmd = " << qPrintable(ctcpCmd()) + << ", param = " << qPrintable(param()) + << ", reply = " << qPrintable(reply()); } private: