diff --git a/src/command.c b/src/command.c
index 50310f11255b57d30228a65cfe26b676c5c89497..dae4dc7b160e1399ccba0ae6f4874cf120e0524c 100644
--- a/src/command.c
+++ b/src/command.c
@@ -660,7 +660,7 @@ static void COM_ExecuteString(char *ptext)
 	// check cvars
 	// Hurdler: added at Ebola's request ;)
 	// (don't flood the console in software mode with bad gl_xxx command)
-	if (!CV_Command() && con_destlines)
+	if (!CV_Command() && (con_destlines || dedicated))
 		CONS_Printf(M_GetText("Unknown command '%s'\n"), COM_Argv(0));
 }