* Fixed: restore show subcommands for .help <command> if any.

This commit is contained in:
VladimirMangos 2008-10-20 12:28:39 +04:00
parent ad5f559dad
commit 3c83482679

View file

@ -702,7 +702,8 @@ bool ChatHandler::ShowHelpForSubCommands(ChatCommand *table, char const* cmd, ch
if(m_session->GetSecurity() < table[i].SecurityLevel)
continue;
if( !hasStringAbbr(table[i].Name, subcmd) )
/// for empty subcmd show all available
if( *subcmd && !hasStringAbbr(table[i].Name, subcmd))
continue;
(list += "\n ") += table[i].Name;