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)
|
switch (banMode)
|
||||||
{
|
{
|
||||||
case BAN_ACCOUNT:
|
case BAN_ACCOUNT:
|
||||||
|
#ifdef CATA
|
||||||
|
if (!Utf8ToUpperOnlyLatin(nameOrIP))
|
||||||
|
return 0;
|
||||||
|
#else
|
||||||
if (!AccountMgr::normalizeString(nameOrIP))
|
if (!AccountMgr::normalizeString(nameOrIP))
|
||||||
return 0;
|
return 0;
|
||||||
|
#endif
|
||||||
break;
|
break;
|
||||||
case BAN_CHARACTER:
|
case BAN_CHARACTER:
|
||||||
if (!normalizePlayerName(nameOrIP))
|
if (!normalizePlayerName(nameOrIP))
|
||||||
|
|||||||
Reference in New Issue
Block a user