diff options
-rw-r--r-- | src/console.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/console.cpp b/src/console.cpp index 8ca3f3a5f..1b5ff2422 100644 --- a/src/console.cpp +++ b/src/console.cpp @@ -475,7 +475,7 @@ void IConsoleCmdExec(const char *cmdstr) DEBUG(console, 8, "Token %d is: '%s'", i, tokens[i]); } - if (tokens[0] == '\0') return; // don't execute empty commands + if (StrEmpty(tokens[0])) return; // don't execute empty commands /* 2. Determine type of command (cmd or alias) and execute * First try commands, then aliases. Execute * the found action taking into account its hooking code |