From 5151666e1646e9e331a9c5793642c850ea65872c Mon Sep 17 00:00:00 2001 From: mar Date: Tue, 22 Nov 1988 12:25:22 +0000 Subject: [PATCH] fixed logic determining which lists of member to display --- clients/moira/lists.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clients/moira/lists.c b/clients/moira/lists.c index a3f25c4f..e4b60c0f 100644 --- a/clients/moira/lists.c +++ b/clients/moira/lists.c @@ -732,8 +732,8 @@ ListByMember() while (elem != NULL) { info = (char**) elem->q_data; - if (maillist != TRUE || !strcmp(info[GLOM_MAILLIST], "1")) - if (group != TRUE || !strcmp(info[GLOM_GROUP], "1")) + if ((maillist == TRUE && !strcmp(info[GLOM_MAILLIST], "1")) || + (group == TRUE && !strcmp(info[GLOM_GROUP], "1"))) Put_message(info[GLOM_NAME]); elem = elem->q_forw; } -- 2.45.2