]> git.ipfire.org Git - thirdparty/mlmmj.git/commitdiff
subscruption: fix, subscription validation
authorBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 25 Oct 2023 22:09:34 +0000 (00:09 +0200)
committerBaptiste Daroussin <bapt@FreeBSD.org>
Wed, 25 Oct 2023 22:09:34 +0000 (00:09 +0200)
src/listcontrol.c

index 14aee274fadcebaeb6a2065a154104a4241fdb3e..45205547828cdbb33c145af740bbd8f736be33b3 100644 (file)
@@ -493,7 +493,7 @@ permit:
                subc.gensubscribed = true;
                subc.reasonsub = SUB_PERMIT;
                subc.mlmmjsend = lc.mlmmjsend;
-               exit(do_subscribe(ml, &subc, tmpstr) ? EXIT_SUCCESS : EXIT_FAILURE);
+               exit(do_subscribe(ml, &subc, NULL) ? EXIT_SUCCESS : EXIT_FAILURE);
                break;
 
        /* listname+obstruct-COOKIE@domain.tld */