mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
Fixed subcommands list output at console.
This commit is contained in:
parent
94e29ce6a8
commit
58bc947ef9
1 changed files with 7 additions and 1 deletions
|
|
@ -787,7 +787,13 @@ bool ChatHandler::ShowHelpForSubCommands(ChatCommand *table, char const* cmd, ch
|
||||||
if( *subcmd && !hasStringAbbr(table[i].Name, subcmd))
|
if( *subcmd && !hasStringAbbr(table[i].Name, subcmd))
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
(list += "\n ") += table[i].Name;
|
if(m_session)
|
||||||
|
list += "\n ";
|
||||||
|
else
|
||||||
|
list += "\n\r ";
|
||||||
|
|
||||||
|
list += table[i].Name;
|
||||||
|
|
||||||
if(table[i].ChildCommands)
|
if(table[i].ChildCommands)
|
||||||
list += " ...";
|
list += " ...";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue