diff options
Diffstat (limited to 'Mailman/Cgi/confirm.py')
-rw-r--r-- | Mailman/Cgi/confirm.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Mailman/Cgi/confirm.py b/Mailman/Cgi/confirm.py index abb0ac29..23a92740 100644 --- a/Mailman/Cgi/confirm.py +++ b/Mailman/Cgi/confirm.py @@ -348,6 +348,11 @@ def subscription_confirm(mlist, doc, cookie, cgidata): address that has already been unsubscribed.''')) except Errors.MMAlreadyAMember: doc.addError(_("You are already a member of this mailing list!")) + except Errors.HostileSubscriptionError: + doc.addError(_("""\ + You were not invited to this mailing list. The invitation has + been discarded, and both list administrators have been + alerted.""")) else: # Use the user's preferred language i18n.set_language(lang) |