Skip to content

Commit

Permalink
Fix #194
Browse files Browse the repository at this point in the history
  • Loading branch information
Rochet2 committed Mar 17, 2016
1 parent 2de4fba commit d6cbadf
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions GlobalMethods.h
Expand Up @@ -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))
Expand Down

0 comments on commit d6cbadf

Please sign in to comment.