diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-06-15 21:37:05 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-06-15 21:37:05 +0000 |
commit | 6c36896967b523504e54947c5a7dc1094026ca47 (patch) | |
tree | 8b2fb82e1dbbf88e5279196e101192f5cc76a42e /hook.c | |
parent | 3d88d49b459d14003c476d71f94396752043f11a (diff) |
patch-1.3.3.tlr.message_hook.1
Diffstat (limited to 'hook.c')
-rw-r--r-- | hook.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -115,7 +115,7 @@ int mutt_parse_hook (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err) ptr->rx.not == not && !mutt_strcmp (pattern.data, ptr->rx.pattern)) { - if (data & (M_FOLDERHOOK | M_SENDHOOK | M_DISPLAYHOOK)) + if (data & (M_FOLDERHOOK | M_SENDHOOK | M_MESSAGEHOOK)) { /* these hooks allow multiple commands with the same * pattern, so if we've already seen this pattern/command pair, just @@ -144,10 +144,10 @@ int mutt_parse_hook (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err) break; } - if (data & (M_SENDHOOK | M_SAVEHOOK | M_FCCHOOK | M_DISPLAYHOOK)) + if (data & (M_SENDHOOK | M_SAVEHOOK | M_FCCHOOK | M_MESSAGEHOOK)) { if ((pat = mutt_pattern_comp (pattern.data, - (data & (M_SENDHOOK | M_FCCHOOK | M_DISPLAYHOOK)) ? 0 : M_FULL_MSG, + (data & (M_SENDHOOK | M_FCCHOOK | M_MESSAGEHOOK)) ? 0 : M_FULL_MSG, err)) == NULL) goto error; } |