[svn] * Prevent crash at access to deleted social data for player. Remove social data at logout instead - source mangos
* Fixed subcommands list output at console. - source mangos * Rename scripts update. --HG-- branch : trunk
This commit is contained in:
1 parent
f724227f24
commit
3ea64f7581
5 files changed
+10
-6
No files matched your search
+7
-1
@@ -795,7 +795,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 += " ...";
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user