mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
Eluna fix cata merge
This commit is contained in:
@@ -957,8 +957,13 @@ namespace LuaGlobalFunctions
|
||||
switch (banMode)
|
||||
{
|
||||
case BAN_ACCOUNT:
|
||||
#ifdef CATA
|
||||
if (!Utf8ToUpperOnlyLatin(nameOrIP))
|
||||
return 0;
|
||||
#else
|
||||
if (!AccountMgr::normalizeString(nameOrIP))
|
||||
return 0;
|
||||
#endif
|
||||
break;
|
||||
case BAN_CHARACTER:
|
||||
if (!normalizePlayerName(nameOrIP))
|
||||
|
||||
Reference in New Issue
Block a user