summaryrefslogtreecommitdiff
path: root/Mailman/rules/max_recipients.py
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Mailman/rules/max_recipients.py6
1 files changed, 1 insertions, 5 deletions
diff --git a/Mailman/rules/max_recipients.py b/Mailman/rules/max_recipients.py
index 6e3451e4e..dfa23f659 100644
--- a/Mailman/rules/max_recipients.py
+++ b/Mailman/rules/max_recipients.py
@@ -17,7 +17,7 @@
"""The maximum number of recipients rule."""
-__all__ = ['max_recipients_rule']
+__all__ = ['MaximumRecipients']
__metaclass__ = type
@@ -45,7 +45,3 @@ class MaximumRecipients:
recipients = getaddresses(msg.get_all('to', []) +
msg.get_all('cc', []))
return len(recipients) >= mlist.max_num_recipients
-
-
-
-max_recipients_rule = MaximumRecipients()