diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-21 05:19:42 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 1999-01-21 05:19:42 +0000 |
commit | 4a933a52f58b27f86dfc4e587d65424d524f60d5 (patch) | |
tree | 52d4e676f9cc43ab6795584f88f80dfa20943131 /hook.c | |
parent | 9cb26e103b7df37afe10e2d2576b8ccf20875fe9 (diff) |
Fix _mutt_string_hook.
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); } |