From 1fd495484bb43a1e0b0d088874d7bc588d8d38c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 27 Nov 2012 02:59:26 +0300 Subject: Simplify command handlers. --- src/net/ea/gui/guildtab.cpp | 1 - src/net/ea/gui/partytab.cpp | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/gui/guildtab.cpp b/src/net/ea/gui/guildtab.cpp index 210db0235..7d7c5119e 100644 --- a/src/net/ea/gui/guildtab.cpp +++ b/src/net/ea/gui/guildtab.cpp @@ -23,7 +23,6 @@ #include "net/ea/gui/guildtab.h" #include "chatlogger.h" -#include "commandhandler.h" #include "guild.h" #include "localplayer.h" #include "sound.h" diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index 4b9cd0488..e5b2c586b 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -160,7 +160,7 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args) } } - const signed char opt = CommandHandler::parseBoolean(args); + const signed char opt = parseBoolean(args); switch (opt) { @@ -199,7 +199,7 @@ bool PartyTab::handleCommand(const std::string &type, const std::string &args) } } - const signed char opt = CommandHandler::parseBoolean(args); + const signed char opt = parseBoolean(args); switch (opt) { -- cgit v1.2.3-70-g09d2