summaryrefslogtreecommitdiff
path: root/src/mailman/chains/builtin.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/chains/builtin.py')
-rw-r--r--src/mailman/chains/builtin.py7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mailman/chains/builtin.py b/src/mailman/chains/builtin.py
index c81f6700f..48e4bd535 100644
--- a/src/mailman/chains/builtin.py
+++ b/src/mailman/chains/builtin.py
@@ -51,8 +51,9 @@ class BuiltInChain:
('approved', LinkAction.jump, 'accept'),
('emergency', LinkAction.jump, 'hold'),
('loop', LinkAction.jump, 'discard'),
- # Do all of the following before deciding whether to hold the message
- # for moderation.
+ # Determine whether the member or nonmember has an action shortcut.
+ ('moderation', LinkAction.jump, 'moderation'),
+ # Do all of the following before deciding whether to hold the message.
('administrivia', LinkAction.defer, None),
('implicit-dest', LinkAction.defer, None),
('max-recipients', LinkAction.defer, None),
@@ -62,8 +63,6 @@ class BuiltInChain:
('suspicious-header', LinkAction.defer, None),
# Now if any of the above hit, jump to the hold chain.
('any', LinkAction.jump, 'hold'),
- # Hold the message if the sender is a moderated member.
- ('member-moderation', LinkAction.jump, 'member-moderation'),
# Take a detour through the header matching chain, which we'll create
# later.
('truth', LinkAction.detour, 'header-match'),