diff options
Diffstat (limited to 'Mailman')
-rwxr-xr-x | Mailman/MailList.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mailman/MailList.py b/Mailman/MailList.py index ecd6ce5c..991ffd7f 100755 --- a/Mailman/MailList.py +++ b/Mailman/MailList.py @@ -909,7 +909,7 @@ class MailList(HTMLFormatter, Deliverer, ListAdmin, realname, email, whence, pattern) raise Errors.MembershipIsBanned, pattern # See if this is from a spamhaus listed IP. - if remote and BLOCK_SPAMHAUS_LISTED_IP_SUBSCRIBE: + if remote and mm_cfg.BLOCK_SPAMHAUS_LISTED_IP_SUBSCRIBE: if Utils.banned_ip(remote): whence = ' from %s' % remote syslog('vette', '%s banned subscription: %s%s (Spamhaus IP)', |