diff options
| author | bwarsaw | 2002-01-06 04:22:20 +0000 |
|---|---|---|
| committer | bwarsaw | 2002-01-06 04:22:20 +0000 |
| commit | fad5ca1b24229c674dbee8e84591b1d63391a40f (patch) | |
| tree | 948ca3e56c8ccc53c5ab3c993d050c4768657ab2 /Mailman/MailCommandHandler.py | |
| parent | 992b7b41b348fba00dc2ac05feee3307cc9dd979 (diff) | |
| download | mailman-fad5ca1b24229c674dbee8e84591b1d63391a40f.tar.gz mailman-fad5ca1b24229c674dbee8e84591b1d63391a40f.tar.zst mailman-fad5ca1b24229c674dbee8e84591b1d63391a40f.zip | |
Diffstat (limited to 'Mailman/MailCommandHandler.py')
| -rw-r--r-- | Mailman/MailCommandHandler.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/Mailman/MailCommandHandler.py b/Mailman/MailCommandHandler.py index 46e293057..2cba6e054 100644 --- a/Mailman/MailCommandHandler.py +++ b/Mailman/MailCommandHandler.py @@ -1,4 +1,4 @@ -# Copyright (C) 1998,1999,2000,2001 by the Free Software Foundation, Inc. +# Copyright (C) 1998,1999,2000,2001,2002 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 @@ -659,6 +659,12 @@ Usage: subscribe [password] [digest|nodigest] [address=<email-address>]""")) digest=digest) self.AddMember(userdesc, remote) self.Save() + except Errors.MembershipIsBanned: + listowner = self.GetOwnerEmail() + self.AddToResponse(_("""\ +The email address you supplied is banned from this mailing list. +If you think this restriction is erroneous, please contact the list +owners at %(listowner)s.""")) except Errors.MMSubscribeNeedsConfirmation: # # the confirmation message that's been sent takes place |
