upstream: Return error on /time <invalid-section> (29129bf88)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user