From 1bcd90c07e2e2de5bf6bf6765167a641a24fb348 Mon Sep 17 00:00:00 2001 From: Marko Lindqvist Date: Tue, 25 Apr 2023 07:20:51 +0300 Subject: [PATCH 42/42] actions_are_ready(): Handle internal actions correctly See osdn #47934 Signed-off-by: Marko Lindqvist --- common/actions.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/common/actions.c b/common/actions.c index 9db2794150..63fc6c1812 100644 --- a/common/actions.c +++ b/common/actions.c @@ -1608,15 +1608,15 @@ bool actions_are_ready(void) return FALSE; } - action_iterate(act) { + action_noninternal_iterate(act) { if (actions[act]->ui_name[0] == '\0') { - /* An action without a UI name exists means that the ruleset haven't - * loaded yet. The ruleset loading will assign a default name to - * any actions not named by the ruleset. The client will get this - * name from the server. */ + /* A noninternal action without a UI name exists means that + * the ruleset haven't loaded yet. The ruleset loading will assign + * a default name to any actions not named by the ruleset. + * The client will get this name from the server. */ return FALSE; } - } action_iterate_end; + } action_noninternal_iterate_end; /* The actions should be ready for use. */ return TRUE; -- 2.39.2