Send a different error if a user is permanently blocked.

This commit is contained in:
lotodore committed 2010-07-14 15:27:06 +00:00
1 parent a68a98f739
commit 176dbe1d4f
6 files changed
+37 -21

No files matched your search

@@ -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"),