diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-05-31 10:44:16 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-05-31 10:44:16 +0000 |
commit | f869f9f687bf191e6e32ed1f1296a0f313e3198f (patch) | |
tree | c67a258c0be69075380a705ed08c72c3375b25a9 /hook.c | |
parent | 885f064460f514f399a4b12d8bd25495b5684091 (diff) |
Minor bug-fixes.
Diffstat (limited to 'hook.c')
-rw-r--r-- | hook.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* - * Copyright (C) 1996-8 Michael R. Elkins <me@cs.hmc.edu> + * Copyright (C) 1996-9 Michael R. Elkins <me@cs.hmc.edu>, and others * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -146,7 +146,7 @@ int mutt_parse_hook (BUFFER *buf, BUFFER *s, unsigned long data, BUFFER *err) if (data & (M_SENDHOOK | M_SAVEHOOK | M_FCCHOOK)) { - if ((pat = mutt_pattern_comp (pattern.data, (data & M_SAVEHOOK) ? M_FULL_MSG : 0, err)) == NULL) + if ((pat = mutt_pattern_comp (pattern.data, (data & (M_SENDHOOK | M_FCCHOOK)) ? 0 : M_FULL_MSG, err)) == NULL) goto error; } else |