mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-19 08:55:32 +01:00
Merge pull request #4634 from Aokromes/master
Core/Misc: Typo fix by higi closes #3633
This commit is contained in:
@@ -885,11 +885,11 @@ bool ChatHandler::ShowHelpForSubCommands(ChatCommand* table, char const* cmd, ch
|
||||
std::string list;
|
||||
for (uint32 i = 0; table[i].Name != NULL; ++i)
|
||||
{
|
||||
// must be available (ignore handler existence for show command with possibe avalable subcomands
|
||||
// must be available (ignore handler existence for show command with possible avalable subcomands)
|
||||
if (!isAvailable(table[i]))
|
||||
continue;
|
||||
|
||||
/// for empty subcmd show all available
|
||||
// for empty subcmd show all available
|
||||
if (*subcmd && !hasStringAbbr(table[i].Name, subcmd))
|
||||
continue;
|
||||
|
||||
@@ -924,7 +924,7 @@ bool ChatHandler::ShowHelpForCommand(ChatCommand* table, const char* cmd)
|
||||
{
|
||||
for (uint32 i = 0; table[i].Name != NULL; ++i)
|
||||
{
|
||||
// must be available (ignore handler existence for show command with possibe avalable subcomands
|
||||
// must be available (ignore handler existence for show command with possible avalable subcomands)
|
||||
if (!isAvailable(table[i]))
|
||||
continue;
|
||||
|
||||
@@ -954,7 +954,7 @@ bool ChatHandler::ShowHelpForCommand(ChatCommand* table, const char* cmd)
|
||||
{
|
||||
for (uint32 i = 0; table[i].Name != NULL; ++i)
|
||||
{
|
||||
// must be available (ignore handler existence for show command with possibe avalable subcomands
|
||||
// must be available (ignore handler existence for show command with possible avalable subcomands)
|
||||
if (!isAvailable(table[i]))
|
||||
continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user