From: Baptiste Daroussin Date: Tue, 27 Aug 2024 15:13:58 +0000 (+0200) Subject: access: granular access rejection X-Git-Tag: RELEASE_1_5_0~16 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ca586f3fafe9ba8930f55fbce7f3b0cfe2b9ce6f;p=thirdparty%2Fmlmmj.git access: granular access rejection if a qualifier was passed to the deny action, this qualifier is then used as an extension when looking for the template of deny message to send to the user. deny-post-access- Fixes: #7 --- diff --git a/src/mlmmj-process.c b/src/mlmmj-process.c index bf7e5670..4d3a3236 100644 --- a/src/mlmmj-process.c +++ b/src/mlmmj-process.c @@ -627,7 +627,7 @@ int main(int argc, char **argv) exit(EXIT_SUCCESS); } txt = open_text(ml.fd, "deny", "post", - "access", NULL, "access"); + "access", qualifier, "access"); MY_ASSERT(txt); register_default_unformatted(txt, &ml); register_unformatted(txt, "subject", subject);