]> granicus.if.org Git - mutt/commitdiff
reply-hook is used in contexts where we don't have a Context
authorThomas Roessler <roessler@does-not-exist.org>
Fri, 3 Mar 2006 10:12:27 +0000 (10:12 +0000)
committerThomas Roessler <roessler@does-not-exist.org>
Fri, 3 Mar 2006 10:12:27 +0000 (10:12 +0000)
structure available. Hence, it must not require the full
message.

hook.c

diff --git a/hook.c b/hook.c
index 73fd3d826d34f3f6aff755fd0012d46e3e85cb78..064910e7829b3807ee41f3ccab1a5106607f10e8 100644 (file)
--- a/hook.c
+++ b/hook.c
@@ -153,7 +153,7 @@ int mutt_parse_hook (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err)
   if (data & (M_SENDHOOK | M_SEND2HOOK | M_SAVEHOOK | M_FCCHOOK | M_MESSAGEHOOK | M_REPLYHOOK))
   {
     if ((pat = mutt_pattern_comp (pattern.data,
-          (data & (M_SENDHOOK | M_SEND2HOOK | M_FCCHOOK)) ? 0 : M_FULL_MSG,
+          (data & (M_SENDHOOK | M_SEND2HOOK | M_FCCHOOK | M_REPLYHOOK)) ? 0 : M_FULL_MSG,
                                  err)) == NULL)
       goto error;
   }