Fixed commands log and a crash on windows

This commit is contained in:
Yehonal
2016-09-04 16:05:32 +02:00
parent ce219ce7e4
commit 209c058368

View File

@@ -394,7 +394,7 @@ bool ChatHandler::ParseCommands(char const* 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))
return false;