fixed "no such cmd ''" on whole-line comments in cfg

This commit is contained in:
fisted 2011-05-20 02:43:31 +02:00 committed by oy
parent c1ebda73e3
commit d5b3804804

View file

@ -247,6 +247,9 @@ void CConsole::ExecuteLineStroked(int Stroke, const char *pStr)
if(ParseStart(&Result, pStr, (pEnd-pStr) + 1) != 0)
return;
if (!*Result.m_pCommand)
return;
CCommand *pCommand = FindCommand(Result.m_pCommand, m_FlagMask);
if(pCommand)