Fixed typo

--HG--
branch : trunk
This commit is contained in:
n0n4m3
2009-12-27 17:44:37 +01:00
parent fa1945d3a9
commit d2beecd80c

View File

@@ -1066,7 +1066,7 @@ int ChatHandler::ParseCommands(const char* text)
std::string fullcmd = text;
if (this->getSession()->GetSecurity() <= SEC_PLAYER && sWorld.getConfig(CONFIG_ALLOW_PLAYER_COMMANDS) == 0)
if (m_session->GetSecurity() <= SEC_PLAYER && sWorld.getConfig(CONFIG_ALLOW_PLAYER_COMMANDS) == 0)
return 0;
if (m_session && !m_session->HandleOnPlayerChat(text))