diff options
author | Philipp Sehmisch <crush@themanaworld.org> | 2009-04-16 20:02:31 +0200 |
---|---|---|
committer | Philipp Sehmisch <crush@themanaworld.org> | 2009-04-16 20:02:31 +0200 |
commit | 255c491375005abb1d2de22fa5aa1a821ac3a4f6 (patch) | |
tree | b474bd4c0d5429ddd45d992015a7ed73a12a1830 /src/net | |
parent | 2fb36c5f27e2891bbd9968bdf9bbc7142ff28983 (diff) | |
parent | 69258182848b2781b0081d82453d33f42dd81679 (diff) | |
download | mana-255c491375005abb1d2de22fa5aa1a821ac3a4f6.tar.gz mana-255c491375005abb1d2de22fa5aa1a821ac3a4f6.tar.bz2 mana-255c491375005abb1d2de22fa5aa1a821ac3a4f6.tar.xz mana-255c491375005abb1d2de22fa5aa1a821ac3a4f6.zip |
Merge branch 'master' of git@gitorious.org:tmw/mainline
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/ea/gui/partytab.cpp | 2 | ||||
-rw-r--r-- | src/net/ea/gui/partytab.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/net/ea/gui/partytab.cpp b/src/net/ea/gui/partytab.cpp index e9651af9..b37105e9 100644 --- a/src/net/ea/gui/partytab.cpp +++ b/src/net/ea/gui/partytab.cpp @@ -55,7 +55,7 @@ void PartyTab::showHelp() chatLog(_("/leave > Leave the party you are in")); } -bool PartyTab::handleCommand(std::string type, std::string args) +bool PartyTab::handleCommand(const std::string &type, const std::string &args) { if (type == "help") { diff --git a/src/net/ea/gui/partytab.h b/src/net/ea/gui/partytab.h index fac4061b..1e4b6e0c 100644 --- a/src/net/ea/gui/partytab.h +++ b/src/net/ea/gui/partytab.h @@ -35,7 +35,7 @@ class PartyTab : public ChatTab void showHelp(); - bool handleCommand(std::string type, std::string args); + bool handleCommand(const std::string &type, const std::string &args); protected: void handleInput(const std::string &msg); |