From d2beecd80c05443313e92d2fb307c6034567a122 Mon Sep 17 00:00:00 2001 From: n0n4m3 Date: Sun, 27 Dec 2009 17:44:37 +0100 Subject: Fixed typo --HG-- branch : trunk --- src/game/Chat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/Chat.cpp') diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index 3c526eccb76..b261631385d 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -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)) -- cgit v1.2.3