mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-22 13:16:23 +00:00
fix(Core/ObjectMgr): solve Global Storage issue
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user