From 2318149d7a4a9da209cbdfcdcd5b64bc223a215b Mon Sep 17 00:00:00 2001 From: Rochet2 Date: Thu, 26 Jun 2014 17:46:17 +0300 Subject: [PATCH] Eluna fix cata merge --- GlobalMethods.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/GlobalMethods.h b/GlobalMethods.h index 857d5c8..f74766f 100644 --- a/GlobalMethods.h +++ b/GlobalMethods.h @@ -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))