diff --git a/src/core/modules/commands/server_commands_wrap.cpp b/src/core/modules/commands/server_commands_wrap.cpp index 772feb726..43f80b500 100644 --- a/src/core/modules/commands/server_commands_wrap.cpp +++ b/src/core/modules/commands/server_commands_wrap.cpp @@ -128,7 +128,7 @@ CServerCommandManager* CServerCommandManager::CreateCommand(const char* szName, // Unregister the old command g_pCVar->UnregisterConCommand(pConCommand); } - else + else if( szHelpText != NULL ) { // Store the given help text szHelpTextCopy = strdup(szHelpText);