fix(Core/ObjectMgr): solve Global Storage issue
This commit is contained in:
@@ -123,6 +123,9 @@ bool normalizePlayerName(std::string& name)
|
|||||||
if (name.empty())
|
if (name.empty())
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
if (name.find(" ") != std::string::npos)
|
||||||
|
return false;
|
||||||
|
|
||||||
std::wstring tmp;
|
std::wstring tmp;
|
||||||
if (!Utf8toWStr(name, tmp))
|
if (!Utf8toWStr(name, tmp))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user