Rochet2
2016-03-17 11:39:18 +02:00
parent 2de4fbac8c
commit d6cbadfec9

View File

@@ -1880,8 +1880,13 @@ namespace LuaGlobalFunctions
switch (banMode)
{
case BAN_ACCOUNT:
#ifdef TRINITY
if (!Utf8ToUpperOnlyLatin(nameOrIP))
return 0;
#else
if (!AccountMgr::normalizeString(nameOrIP))
return 0;
#endif
break;
case BAN_CHARACTER:
if (!normalizePlayerName(nameOrIP))