mirror of
https://github.com/azerothcore/mod-ale
synced 2025-11-29 15:38:17 +08:00
fix build also for #2455
This commit is contained in:
@@ -1964,7 +1964,7 @@ namespace LuaGlobalFunctions
|
|||||||
switch (banMode)
|
switch (banMode)
|
||||||
{
|
{
|
||||||
case BAN_ACCOUNT:
|
case BAN_ACCOUNT:
|
||||||
#ifdef TRINITY
|
#if defined TRINITY || AZEROTHCORE
|
||||||
if (!Utf8ToUpperOnlyLatin(nameOrIP))
|
if (!Utf8ToUpperOnlyLatin(nameOrIP))
|
||||||
return luaL_argerror(L, 2, "invalid account name");
|
return luaL_argerror(L, 2, "invalid account name");
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user