Core/Accounts: prevent existing account ban from being updated (#21836)

Cherry-picked from fbb2b165
This commit is contained in:
Roc13x
2018-04-18 11:32:37 +01:00
committed by Aokromes
parent 95475fed2e
commit e27d7c8e8f
7 changed files with 31 additions and 4 deletions

View File

@@ -232,6 +232,9 @@ public:
}
handler->SetSentErrorMessage(true);
return false;
case BAN_EXISTS:
handler->PSendSysMessage(LANG_BAN_EXISTS);
break;
}
return true;