void handle322(const QString &prefix, const QList<QByteArray> ¶ms); // RPL_LIST
void handle323(const QString &prefix, const QList<QByteArray> ¶ms); // RPL_LISTEND
void handle324(const QString &prefix, const QList<QByteArray> ¶ms); // RPL_CHANNELMODEIS
+ void handle328(const QString &prefix, const QList<QByteArray> ¶ms); // RPL_??? (channel homepage)
void handle329(const QString &prefix, const QList<QByteArray> ¶ms); // RPL_??? (channel creation time)
void handle331(const QString &prefix, const QList<QByteArray> ¶ms); // RPL_NOTOPIC
void handle332(const QString &prefix, const QList<QByteArray> ¶ms); // RPL_TOPIC
void defaultHandler(QString cmd, const QString &prefix, const QList<QByteArray> ¶ms);
private:
- void tryNextNick(const QString &errnick);
+ void tryNextNick(const QString &errnick, bool erroneus = false);
bool checkParamCount(const QString &methodName, const QList<QByteArray> ¶ms, int minParams);
+
+ // holds the target for numeric replies or is invalid otherwise
+ inline const QString &target() const { return _target; }
+
bool _whois;
+ QString _target;
};