From c9e2bcc91cfc28410e3e85d76cc5b1a0df250f67 Mon Sep 17 00:00:00 2001 From: Dan Kuebrich Date: Sun, 10 Mar 2013 22:57:48 -0400 Subject: [PATCH] [login] fix loginError handling of banned users --- cockatrice/src/window_main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/cockatrice/src/window_main.cpp b/cockatrice/src/window_main.cpp index 4cccf1d02..b07e2ac73 100644 --- a/cockatrice/src/window_main.cpp +++ b/cockatrice/src/window_main.cpp @@ -258,9 +258,6 @@ void MainWindow::loginError(Response::ResponseCode r, QString reasonStr, quint32 QMessageBox::critical(this, tr("Error"), bannedStr); break; } - case Response::RespUserIsBanned: - QMessageBox::critical(this, tr("Error"), tr("Invalid username.")); - break; default: QMessageBox::critical(this, tr("Error"), tr("Unknown login error: %1").arg(static_cast(r))); }