aboutsummaryrefslogtreecommitdiffstats
path: root/Mailman/Cgi/admin.py
diff options
context:
space:
mode:
Diffstat (limited to 'Mailman/Cgi/admin.py')
-rw-r--r--Mailman/Cgi/admin.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/Mailman/Cgi/admin.py b/Mailman/Cgi/admin.py
index ef5ea1ac..47ec59c2 100644
--- a/Mailman/Cgi/admin.py
+++ b/Mailman/Cgi/admin.py
@@ -233,8 +233,9 @@ def admin_overview(msg=''):
for name in listnames:
mlist = MailList.MailList(name, lock=0)
if mlist.advertised:
- if mm_cfg.VIRTUAL_HOST_OVERVIEW and \
- mlist.web_page_url.find('/%s/' % hostname) == -1:
+ if mm_cfg.VIRTUAL_HOST_OVERVIEW and (
+ mlist.web_page_url.find('/%s/' % hostname) == -1 and
+ mlist.web_page_url.find('/%s:' % hostname) == -1):
# List is for different identity of this host - skip it.
continue
else: