From de777e10950eed3aff489e74908578b5759003bb Mon Sep 17 00:00:00 2001 From: bwarsaw <> Date: Mon, 31 Mar 2003 21:49:43 +0000 Subject: Backporting from trunk --- Mailman/Commands/cmd_confirm.py | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Mailman/Commands') diff --git a/Mailman/Commands/cmd_confirm.py b/Mailman/Commands/cmd_confirm.py index 5e4fc701..f93e7b9b 100644 --- a/Mailman/Commands/cmd_confirm.py +++ b/Mailman/Commands/cmd_confirm.py @@ -1,4 +1,4 @@ -# Copyright (C) 2002 by the Free Software Foundation, Inc. +# Copyright (C) 2002-2003 by the Free Software Foundation, Inc. # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License @@ -17,7 +17,7 @@ """ confirm Confirm an action. The confirmation-string is required and should be - supplied with in mailback confirmation notice. + supplied by a mailback confirmation notice. """ from Mailman import mm_cfg @@ -63,6 +63,10 @@ Your request has been forwarded to the list moderator for approval.""")) res.results.append(_("""\ You are not current a member. Have you already unsubscribed or changed your email address?""")) + except Errors.HostileSubscriptionError: + res.results.append(_("""\ +You were not invited to this mailing list. The invitation has been discarded, +and both list administrators have been alerted.""")) else: if ((results[0] == Pending.SUBSCRIPTION and mlist.send_welcome_msg) or -- cgit v1.2.3