X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcommon%2Fctcpevent.h;h=18032033c697bbf4d58f82c70a122ad2fc0cf7ba;hb=1a5c1814a0c52f6f35e65c7033b2f896bf1188e3;hp=ef2674d247a01b7133445b59d390018e68f61a4a;hpb=c1cf157116de7fc3da96203aa6f03c38c7ebb650;p=quassel.git diff --git a/src/common/ctcpevent.h b/src/common/ctcpevent.h index ef2674d2..18032033 100644 --- a/src/common/ctcpevent.h +++ b/src/common/ctcpevent.h @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2005-2018 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: