Merge pull request #4634 from Aokromes/master

Core/Misc: Typo fix by higi closes #3633
This commit is contained in:
Machiavelli
2012-01-05 02:56:34 -08:00

View File

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