X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=blobdiff_plain;f=src%2Fcore%2Fircserverhandler.h;h=b06a6b650ced938ccbf0987dea81b9e45b5641ac;hp=406b0a38237d4daf06edde7aa097feac69746066;hb=aadd816dbcae859ce9ac5b44d609bd3094b3d6fc;hpb=a5dfcc8ecf8b81025d24b3c5c816169e3e030ea4 diff --git a/src/core/ircserverhandler.h b/src/core/ircserverhandler.h index 406b0a38..b06a6b65 100644 --- a/src/core/ircserverhandler.h +++ b/src/core/ircserverhandler.h @@ -1,5 +1,5 @@ /*************************************************************************** - * 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 * @@ -81,9 +81,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; };