diff options
author | Mark Sapiro <mark@msapiro.net> | 2018-06-04 21:25:36 -0700 |
---|---|---|
committer | Mark Sapiro <mark@msapiro.net> | 2018-06-04 21:25:36 -0700 |
commit | 2b3aacbdb800115909a59d1a89bc1e67a75a14e3 (patch) | |
tree | 04d28f7e32e711a09bb97aa792f56d9f8a8d0817 /Mailman | |
parent | a8715a7afa8fd36d9118df834b3e8749b0083972 (diff) | |
download | mailman2-2b3aacbdb800115909a59d1a89bc1e67a75a14e3.tar.gz mailman2-2b3aacbdb800115909a59d1a89bc1e67a75a14e3.tar.xz mailman2-2b3aacbdb800115909a59d1a89bc1e67a75a14e3.zip |
Ooops. Forgot mm_cfg.
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)', |