aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorn0n4m3 <none@none>2009-12-27 17:44:37 +0100
committern0n4m3 <none@none>2009-12-27 17:44:37 +0100
commitd2beecd80c05443313e92d2fb307c6034567a122 (patch)
treebb7959bc0a5d4e1d0218f09f03ba007dc9200628
parentfa1945d3a98e56ef4c2f3ef735f852fe626ffcf9 (diff)
Fixed typo
--HG-- branch : trunk
-rw-r--r--src/game/Chat.cpp2
1 files changed, 1 insertions, 1 deletions
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))