diff options
Diffstat (limited to 'hook.c')
-rw-r--r-- | hook.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -336,7 +336,7 @@ static char *_mutt_string_hook (const char *match, int hook) for (; tmp; tmp = tmp->next) { - if ((tmp->type & M_PGPHOOK) && ((match && + if ((tmp->type & hook) && ((match && regexec (tmp->rx.rx, match, 0, NULL, 0) == 0) ^ tmp->rx.not)) return (tmp->command); } |