Scripts/Cmds: Replace AccountMgr::normalizeString with Utf8ToUpperOnlyLatin

This commit is contained in:
DDuarte
2014-10-19 04:06:01 +01:00
parent 02842a20b6
commit efa79f4469

View File

@@ -1927,7 +1927,7 @@ public:
return false;
std::string accountName = nameStr;
if (!AccountMgr::normalizeString(accountName))
if (!Utf8ToUpperOnlyLatin(accountName))
{
handler->PSendSysMessage(LANG_ACCOUNT_NOT_EXIST, accountName.c_str());
handler->SetSentErrorMessage(true);