diff options
author | Chuck Miller <shadowmil@gmail.com> | 2010-10-04 21:34:37 -0400 |
---|---|---|
committer | Chuck Miller <shadowmil@gmail.com> | 2010-10-04 21:42:48 -0400 |
commit | 3d6a2d9c80a969c3613f567dd7029e75ef59b5cb (patch) | |
tree | d40642bba511e9a20a4366808ee7a5e1106356ba /src/commandhandler.cpp | |
parent | 89f192b9039f9c000515f0a12f4bb9fb55c4691c (diff) | |
download | mana-3d6a2d9c80a969c3613f567dd7029e75ef59b5cb.tar.gz mana-3d6a2d9c80a969c3613f567dd7029e75ef59b5cb.tar.bz2 mana-3d6a2d9c80a969c3613f567dd7029e75ef59b5cb.tar.xz mana-3d6a2d9c80a969c3613f567dd7029e75ef59b5cb.zip |
Remove the AFK response system
This would be if it was handled by a addon later.
Reviewed-By: Freeyorp < Freeyorp101@hotmail.com >
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r-- | src/commandhandler.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp index a39e13bd..878180e6 100644 --- a/src/commandhandler.cpp +++ b/src/commandhandler.cpp @@ -120,10 +120,6 @@ void CommandHandler::handleCommand(const std::string &command, ChatTab *tab) { handlePresent(args, tab); } - else if (type == "away") - { - handleAway(args, tab); - } else { tab->chatLog(_("Unknown command.")); @@ -171,9 +167,6 @@ void CommandHandler::handleHelp(const std::string &args, ChatTab *tab) "with another user")); tab->chatLog(_("/q > Alias of query")); - tab->chatLog(_("/away > Tell the other whispering players " - "you're away from keyboard.")); - tab->chatLog(_("/ignore > ignore a player")); tab->chatLog(_("/unignore > stop ignoring a player")); @@ -258,14 +251,6 @@ void CommandHandler::handleHelp(const std::string &args, ChatTab *tab) tab->chatLog(_("This command tries to make a tab for whispers between" "you and <nick>.")); } - else if (args == "away") - { - tab->chatLog(_("Command: /away <afk reason>")); - tab->chatLog(_("This command tells " - "you're away from keyboard with the given reason.")); - tab->chatLog(_("Command: /away")); - tab->chatLog(_("This command clears the away status and message.")); - } else if (args == "createparty") { tab->chatLog(_("Command: /createparty <name>")); @@ -525,8 +510,3 @@ void CommandHandler::handleUnignore(const std::string &args, ChatTab *tab) else tab->chatLog(_("Player could not be unignored!"), BY_SERVER); } - -void CommandHandler::handleAway(const std::string &args, ChatTab *tab) -{ - player_node->setAway(args); -} |