diff options
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); |