From 4a933a52f58b27f86dfc4e587d65424d524f60d5 Mon Sep 17 00:00:00 2001 From: Thomas Roessler Date: Thu, 21 Jan 1999 05:19:42 +0000 Subject: Fix _mutt_string_hook. --- hook.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hook.c') 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); } -- cgit v1.2.3