Fixed commands log and a crash on windows
This commit is contained in:
@@ -394,7 +394,7 @@ bool ChatHandler::ParseCommands(char const* text)
|
|||||||
ASSERT(text);
|
ASSERT(text);
|
||||||
ASSERT(*text);
|
ASSERT(*text);
|
||||||
|
|
||||||
std::string fullcmd;
|
std::string fullcmd = text;
|
||||||
|
|
||||||
if (m_session && AccountMgr::IsPlayerAccount(m_session->GetSecurity()) && !sWorld->getBoolConfig(CONFIG_ALLOW_PLAYER_COMMANDS))
|
if (m_session && AccountMgr::IsPlayerAccount(m_session->GetSecurity()) && !sWorld->getBoolConfig(CONFIG_ALLOW_PLAYER_COMMANDS))
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user