aboutsummaryrefslogtreecommitdiff
path: root/src/game/Chat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/Chat.h')
-rw-r--r--src/game/Chat.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Chat.h b/src/game/Chat.h
index 57e1b486189..6c5c07ed70e 100644
--- a/src/game/Chat.h
+++ b/src/game/Chat.h
@@ -82,7 +82,7 @@ class ChatHandler
void SendGlobalSysMessage(const char *str);
- bool ExecuteCommandInTable(ChatCommand *table, const char* text, std::string fullcommand);
+ bool ExecuteCommandInTable(ChatCommand *table, const char* text, const std::string& fullcommand);
bool ShowHelpForCommand(ChatCommand *table, const char* cmd);
bool ShowHelpForSubCommands(ChatCommand *table, char const* cmd, char const* subcmd);