From: Nick Porter Date: Thu, 21 Aug 2025 17:24:16 +0000 (+0100) Subject: If we find the module "trigger" subsection, use it X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=728ca8015d2f2c9ab300841bf40cccc2b47a9d5b;p=thirdparty%2Ffreeradius-server.git If we find the module "trigger" subsection, use it --- diff --git a/src/lib/server/trigger.c b/src/lib/server/trigger.c index 1182be9245..4d9738e3d9 100644 --- a/src/lib/server/trigger.c +++ b/src/lib/server/trigger.c @@ -172,10 +172,8 @@ int trigger(unlang_interpret_t *intp, * module instances. */ if (cs) { - CONF_SECTION const *subcs; - - subcs = cf_section_find(cs, "trigger", NULL); - if (!subcs) goto use_global; + cs = cf_section_find(cs, "trigger", NULL); + if (!cs) goto use_global; /* * If a local trigger{...} section exists, then