diff --git a/src/game/Chat.cpp b/src/game/Chat.cpp index a45c217e4..c79eb653c 100644 --- a/src/game/Chat.cpp +++ b/src/game/Chat.cpp @@ -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;