fix(Core/ObjectMgr): solve Global Storage issue

This commit is contained in:
CosmeF
2020-08-13 09:44:36 -04:00
committed by GitHub
parent 2052491a5a
commit 4f04af6a64

View File

@@ -123,6 +123,9 @@ bool normalizePlayerName(std::string& name)
if (name.empty())
return false;
if (name.find(" ") != std::string::npos)
return false;
std::wstring tmp;
if (!Utf8toWStr(name, tmp))
return false;