mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-18 03:15:41 +00:00
Core/Chat: fixed commands
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user