/***************************************************************************
- * Copyright (C) 2005-08 by the Quassel Project *
+ * Copyright (C) 2005-09 by the Quassel Project *
* devel@quassel-irc.org *
* *
* This program is free software; you can redistribute it and/or modify *
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;
};