summaryrefslogtreecommitdiff
path: root/src/mailman/commands/cli_lists.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/commands/cli_lists.py')
-rw-r--r--src/mailman/commands/cli_lists.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mailman/commands/cli_lists.py b/src/mailman/commands/cli_lists.py
index 8acf0c272..a2df63031 100644
--- a/src/mailman/commands/cli_lists.py
+++ b/src/mailman/commands/cli_lists.py
@@ -92,7 +92,7 @@ class Lists:
if args.advertised and not mlist.advertised:
continue
domains = getattr(args, 'domains', None)
- if domains and mlist.host_name not in domains:
+ if domains and mlist.mail_host not in domains:
continue
mailing_lists.append(mlist)
# Maybe no mailing lists matched.