Send a different error if a user is permanently blocked.

This commit is contained in:
lotodore
2010-07-14 15:27:06 +00:00
parent a68a98f739
commit 176dbe1d4f
6 changed files with 37 additions and 21 deletions
@@ -761,6 +761,11 @@ void startWindowImpl::networkError(int errorID, int /*osErrorID*/) {
tr("You were temporarily banned from the server."),
QMessageBox::Close); }
break;
case ERR_NET_PLAYER_BLOCKED:
{ mySession->terminateNetworkClient();
QMessageBox::warning(this, tr("Network Error"),
tr("Your account is blocked indefinitely."),
QMessageBox::Close); }
case ERR_NET_SESSION_TIMED_OUT:
{ mySession->terminateNetworkClient();
QMessageBox::warning(this, tr("Network Error"),