summaryrefslogtreecommitdiff
path: root/src/net/ea
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-27 02:59:26 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-27 23:32:12 +0300
commit1fd495484bb43a1e0b0d088874d7bc588d8d38c9 (patch)
tree1c975620150a8e30196379748871338fa89720ac /src/net/ea
parent42d107be2ecb0cf81c1a291bb4e63e78094bd62e (diff)
downloadplus-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.gz
plus-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.bz2
plus-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.xz
plus-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.zip
Simplify command handlers.
Diffstat (limited to 'src/net/ea')
-rw-r--r--src/net/ea/gui/guildtab.cpp1
-rw-r--r--src/net/ea/gui/partytab.cpp4
2 files changed, 2 insertions, 3 deletions
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)
{