diff options
author | Blaymoira <none@none> | 2008-12-28 23:29:21 +0100 |
---|---|---|
committer | Blaymoira <none@none> | 2008-12-28 23:29:21 +0100 |
commit | fe6f35235b4c64794890964c3c039baf266a8449 (patch) | |
tree | b8eb1c8aee00089b4283d8dd4a34269a9ca435a8 /src | |
parent | 7e85d91f696e6c73fb4d94f24330fb380e725a77 (diff) |
*Reverted 699
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/Chat.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index d86e941c3f5..bb4f3c9bf33 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -842,8 +842,10 @@ int ChatHandler::ParseCommands(const char* text) ASSERT(text); ASSERT(*text); - if(m_session->GetSecurity() == 0) - return 0; + std::string fullcmd = text; + + //if(m_session->GetSecurity() == 0) + // return 0; /// chat case (.command or !command format) if(m_session) @@ -855,8 +857,7 @@ int ChatHandler::ParseCommands(const char* text) /// ignore single . and ! in line if(strlen(text) < 2) return 0; - - std::string fullcmd = text; // original `text` can't be used. It content destroyed in command code processing. + // original `text` can't be used. It content destroyed in command code processing. /// ignore messages staring from many dots. if(text[0] == '.' && text[1] == '.' || text[0] == '!' && text[1] == '!') |