Fixed subcommands list output at console.

This commit is contained in:
VladimirMangos 2008-10-28 10:14:05 +03:00
parent 94e29ce6a8
commit 58bc947ef9

View file

@ -787,7 +787,13 @@ bool ChatHandler::ShowHelpForSubCommands(ChatCommand *table, char const* cmd, ch
if( *subcmd && !hasStringAbbr(table[i].Name, subcmd))
continue;
(list += "\n ") += table[i].Name;
if(m_session)
list += "\n ";
else
list += "\n\r ";
list += table[i].Name;
if(table[i].ChildCommands)
list += " ...";
}