mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-23 18:36:31 +01:00
Core/Accounts: prevent existing account ban from being updated
Signed-off-by: jackpoz <giacomopoz@gmail.com>
This commit is contained in:
@@ -233,6 +233,9 @@ public:
|
||||
}
|
||||
handler->SetSentErrorMessage(true);
|
||||
return false;
|
||||
case BAN_EXISTS:
|
||||
handler->PSendSysMessage(LANG_BAN_EXISTS);
|
||||
break;
|
||||
}
|
||||
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user