Core/Chat: fixed commands

This commit is contained in:
Yehonal
2016-08-21 13:51:20 +02:00
committed by ShinDarth
parent d66d24d597
commit 1e5af6d3be

View File

@@ -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;