summaryrefslogtreecommitdiffstats
path: root/hook.c
diff options
context:
space:
mode:
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 3b339d8d..1c96684a 100644
--- a/hook.c
+++ b/hook.c
@@ -334,7 +334,7 @@ int mutt_parse_idxfmt_hook (BUFFER *buf, BUFFER *s, union pointer_long_t udata,
goto out;
}
- if (DefaultHook && *DefaultHook)
+ if (DefaultHook)
mutt_check_simple (pattern, DefaultHook);
/* check to make sure that a matching hook doesn't already exist */