aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Sapiro <mark@msapiro.net>2018-06-04 21:25:36 -0700
committerMark Sapiro <mark@msapiro.net>2018-06-04 21:25:36 -0700
commit2b3aacbdb800115909a59d1a89bc1e67a75a14e3 (patch)
tree04d28f7e32e711a09bb97aa792f56d9f8a8d0817
parenta8715a7afa8fd36d9118df834b3e8749b0083972 (diff)
downloadmailman2-2b3aacbdb800115909a59d1a89bc1e67a75a14e3.tar.gz
mailman2-2b3aacbdb800115909a59d1a89bc1e67a75a14e3.tar.xz
mailman2-2b3aacbdb800115909a59d1a89bc1e67a75a14e3.zip
Ooops. Forgot mm_cfg.
Diffstat (limited to '')
-rwxr-xr-xMailman/MailList.py2
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)',