Typo fix by higi closes #3633

This commit is contained in:
Aokromes
2012-01-05 11:36:17 +01:00
parent 728c07b888
commit 65a427a322
+4 -4
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;