summaryrefslogtreecommitdiff
path: root/src/net/ea/gui/partytab.cpp
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/gui/partytab.cpp
parent42d107be2ecb0cf81c1a291bb4e63e78094bd62e (diff)
downloadmanaplus-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.gz
manaplus-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.bz2
manaplus-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.tar.xz
manaplus-1fd495484bb43a1e0b0d088874d7bc588d8d38c9.zip
Simplify command handlers.
Diffstat (limited to 'src/net/ea/gui/partytab.cpp')
-rw-r--r--src/net/ea/gui/partytab.cpp4
1 files changed, 2 insertions, 2 deletions
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)
{