upstream: Return error on /time <invalid-section> (29129bf88)

This commit is contained in:
2026-03-31 19:59:13 +03:00
parent ac6c3a13a9
commit 05cdd31299

View File

@@ -5400,6 +5400,9 @@ cmd_time(ProfWin* window, const char* const command, gchar** args)
if (!set_all && n == ARRAY_SIZE(time_prefs)) {
cons_bad_cmd_usage(command);
}
if (!set_all && n == ARRAY_SIZE(time_prefs)) {
cons_bad_cmd_usage(command);
}
if (redraw)
ui_redraw();
return TRUE;