diff options
| -rw-r--r-- | src/game/Chat/Chat.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Chat/Chat.cpp b/src/game/Chat/Chat.cpp index 553514df83..471e98c018 100644 --- a/src/game/Chat/Chat.cpp +++ b/src/game/Chat/Chat.cpp @@ -270,7 +270,7 @@ bool ChatHandler::ExecuteCommandInTable(std::vector<ChatCommand> const& table, c // select subcommand from child commands list if (!table[i].ChildCommands.empty()) { - if (!ExecuteCommandInTable(table[i].ChildCommands, text, fullcmd)) + if (!ExecuteCommandInTable(table[i].ChildCommands, text, fullcmd.c_str())) { if (text[0] != '\0') SendSysMessage(LANG_NO_SUBCMD); |
