made the handlers for ERR_ERRONEUSNICKNAME and ERR_NICKNAMEINUSE more verbose
[quassel.git] / src / core / ircserverhandler.h
index 8a0d384..c8894de 100644 (file)
@@ -1,5 +1,5 @@
 /***************************************************************************
- *   Copyright (C) 2005-07 by the Quassel IRC Team                         *
+ *   Copyright (C) 2005-08 by the Quassel Project                          *
  *   devel@quassel-irc.org                                                 *
  *                                                                         *
  *   This program is free software; you can redistribute it and/or modify  *
@@ -27,7 +27,7 @@ class IrcServerHandler : public BasicHandler {
   Q_OBJECT
 
 public:
-  IrcServerHandler(Server *parent = 0);
+  IrcServerHandler(NetworkConnection *parent);
   ~IrcServerHandler();
 
   void handleServerMsg(QByteArray rawMsg);
@@ -63,8 +63,9 @@ public slots:
 
   void defaultHandler(QString cmd, QString prefix, QList<QByteArray> params);
 
-  private:
-    Server *server;
+private:
+  void tryNextNick(const QString &errnick);
+  NetworkConnection *networkConnection;
 };