diff --git a/src/game/Chat/Chat.cpp b/src/game/Chat/Chat.cpp index 62d12c271..553514df8 100644 --- a/src/game/Chat/Chat.cpp +++ b/src/game/Chat/Chat.cpp @@ -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;