fix build also for #2455

This commit is contained in:
ksklyarov
2019-11-19 01:09:24 +03:00
parent 91786703ab
commit ac7475893b

View File

@@ -1964,7 +1964,7 @@ namespace LuaGlobalFunctions
switch (banMode)
{
case BAN_ACCOUNT:
#ifdef TRINITY
#if defined TRINITY || AZEROTHCORE
if (!Utf8ToUpperOnlyLatin(nameOrIP))
return luaL_argerror(L, 2, "invalid account name");
#else