summaryrefslogtreecommitdiffstats
path: root/hook.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-01-21 05:19:42 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-01-21 05:19:42 +0000
commit4a933a52f58b27f86dfc4e587d65424d524f60d5 (patch)
tree52d4e676f9cc43ab6795584f88f80dfa20943131 /hook.c
parent9cb26e103b7df37afe10e2d2576b8ccf20875fe9 (diff)
Fix _mutt_string_hook.
Diffstat (limited to 'hook.c')
-rw-r--r--hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hook.c b/hook.c
index ae0b6b9f..98c8f167 100644
--- a/hook.c
+++ b/hook.c
@@ -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);
}