]> Some of my projects - anidbudpclient.git/commitdiff
emit replyReady() on all replies.
authorAPTX <mail@example.com>
Thu, 31 Dec 2009 19:49:53 +0000 (20:49 +0100)
committerAPTX <mail@example.com>
Thu, 31 Dec 2009 19:49:53 +0000 (20:49 +0100)
authcommand.cpp

index 517aeb1e4506008079b3f2b57e8bbc3b6986b66c..dab0e881d430b14b8ae4dc5b88d933d416e9fd49 100644 (file)
@@ -102,12 +102,15 @@ qDebug() << replyCode;
                break;
                case LOGIN_FAILED:
                        m_errorString = tr("Username and/or password incorrect");
+                       emit replyReady(false);
                break;
                case CLIENT_VERSION_OUTDATED:
                        m_errorString = tr("Client version outdated");
+                       emit replyReady(false);
                break;
                case CLIENT_BANNED:
                        m_errorString = tr("Banned: %1").arg(m_rawReply.mid(m_rawReply.indexOf("BANNED") + 1));
+                       emit replyReady(false);
                break;
                default:
 qDebug() << "ERROR CODE: " << replyCode;