diff options
Diffstat (limited to 'src/game/Chat/Chat.cpp')
-rw-r--r-- | src/game/Chat/Chat.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/Chat/Chat.cpp b/src/game/Chat/Chat.cpp index 6ad71b0cdb..72f68994df 100644 --- a/src/game/Chat/Chat.cpp +++ b/src/game/Chat/Chat.cpp @@ -246,6 +246,10 @@ bool ChatHandler::ExecuteCommandInTable(std::vector<ChatCommand> const& table, c for (uint32 i = 0; i < table.size(); ++i) { + // for data fill use full explicit command names + if (table[i].Name == nullptr || table[i].Name != cmd) + continue; + if (!hasStringAbbr(table[i].Name, cmd.c_str())) continue; |