From 209c058368cc669714e219d4366fc88135bea26f Mon Sep 17 00:00:00 2001 From: Yehonal Date: Sun, 4 Sep 2016 16:05:32 +0200 Subject: [PATCH] Fixed commands log and a crash on windows --- src/game/Chat/Chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;