fixed handleMode()
authorMarcus Eggenberger <egs@quassel-irc.org>
Tue, 19 Feb 2008 16:29:42 +0000 (16:29 +0000)
committerMarcus Eggenberger <egs@quassel-irc.org>
Tue, 19 Feb 2008 16:29:42 +0000 (16:29 +0000)
src/core/ircserverhandler.cpp

index 05fe413..957ef6e 100644 (file)
@@ -202,7 +202,7 @@ void IrcServerHandler::handleMode(const QString &prefix, const QList<QByteArray>
     // This cannot be fixed unless the SignalProxy() doesn't rely on methodIds anymore
     QString modes = params[1];
     bool add = true;
-    int modeIndex = 0;
+    int modeIndex = 2;
     for(int c = 0; c < modes.length(); c++) {
       if(modes[c] == '+') {
        add = true;