From 3d6a2d9c80a969c3613f567dd7029e75ef59b5cb Mon Sep 17 00:00:00 2001 From: Chuck Miller Date: Mon, 4 Oct 2010 21:34:37 -0400 Subject: Remove the AFK response system This would be if it was handled by a addon later. Reviewed-By: Freeyorp < Freeyorp101@hotmail.com > --- src/commandhandler.cpp | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'src/commandhandler.cpp') 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 .")); } - else if (args == "away") - { - tab->chatLog(_("Command: /away ")); - 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 ")); @@ -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); -} -- cgit v1.2.3-60-g2f50