Eluna fix cata merge

This commit is contained in:
Rochet2
2014-06-26 17:46:17 +03:00
committed by Foereaper
parent d81a00ae20
commit 2318149d7a

View File

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