X-Git-Url: https://git.quassel-irc.org/?a=blobdiff_plain;f=src%2Fcore%2Fircserverhandler.h;h=90db4b4550c84f24edd63385e22c0a0e097ade94;hb=bf51277149f96cf6b8d8df742f7e3bf812f741f7;hp=a0b088be27f2c623f96bc43f25ce08c68b8424b8;hpb=f824db0e31b54969e0b7fa0b5405b1e9173d482c;p=quassel.git diff --git a/src/core/ircserverhandler.h b/src/core/ircserverhandler.h index a0b088be..90db4b45 100644 --- a/src/core/ircserverhandler.h +++ b/src/core/ircserverhandler.h @@ -68,6 +68,7 @@ public slots: void handle322(const QString &prefix, const QList ¶ms); // RPL_LIST void handle323(const QString &prefix, const QList ¶ms); // RPL_LISTEND void handle324(const QString &prefix, const QList ¶ms); // RPL_CHANNELMODEIS + void handle328(const QString &prefix, const QList ¶ms); // RPL_??? (channel homepage) void handle329(const QString &prefix, const QList ¶ms); // RPL_??? (channel creation time) void handle331(const QString &prefix, const QList ¶ms); // RPL_NOTOPIC void handle332(const QString &prefix, const QList ¶ms); // RPL_TOPIC @@ -81,9 +82,14 @@ public slots: void defaultHandler(QString cmd, const QString &prefix, const QList ¶ms); private: - void tryNextNick(const QString &errnick); + void tryNextNick(const QString &errnick, bool erroneus = false); bool checkParamCount(const QString &methodName, const QList ¶ms, int minParams); + + // holds the target for numeric replies or is invalid otherwise + inline const QString &target() const { return _target; } + bool _whois; + QString _target; };