Register "dot commands" for help (CCommandInput)

This commit is contained in:
Klaus Basan
2019-11-16 03:29:36 +01:00
committed by Mat Sutcliffe
parent 72334af1e8
commit 84cfec81e7
2 changed files with 9 additions and 3 deletions

View File

@@ -149,7 +149,7 @@ namespace BlackMisc
bool CSimpleCommandParser::registered(const QString &helpContext)
{
if (s_registered.contains(helpContext)) { return true; };
if (s_registered.contains(helpContext)) { return true; }
s_registered.insert(helpContext);
return false;
}