X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fctcpevent.h;h=dec8ba35b16c7f6c4983dea5e2e825720ec3db2f;hb=3e800ec6553158aa0da3b08da78083d587389914;hp=a6c5462dbab6f1e44d40933217152db5b0f901e2;hpb=cc6e7c08709c4e761e2fd9c2e322751015497003;p=quassel.git diff --git a/src/common/ctcpevent.h b/src/common/ctcpevent.h index a6c5462d..dec8ba35 100644 --- a/src/common/ctcpevent.h +++ b/src/common/ctcpevent.h @@ -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: