From 4613b4fac75285973cad44435b8f47317ce28b8c Mon Sep 17 00:00:00 2001 From: terencehill Date: Sat, 29 Aug 2015 23:51:27 +0200 Subject: [PATCH] Remove an useless check: comments are already filtered out by tokenize_console --- qcsrc/client/quickmenu.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/client/quickmenu.qc b/qcsrc/client/quickmenu.qc index 0f00fdc5b..00fbe0ab2 100644 --- a/qcsrc/client/quickmenu.qc +++ b/qcsrc/client/quickmenu.qc @@ -99,7 +99,7 @@ bool QuickMenu_Open(string mode, string submenu) // first skip invalid entries, so we don't check them anymore float argc; argc = tokenize_console(s); - if(argc == 0 || argv(0) == "" || substring(argv(0), 0, 2) == "////") + if(argc == 0 || argv(0) == "") continue; if(argc == 1) bufstr_set(QuickMenu_Buffer, QuickMenu_Buffer_Size, strcat("S", argv(0))); // Submenu -- 2.39.2