summaryrefslogtreecommitdiff
path: root/src/core/wee-hook.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/wee-hook.c')
-rw-r--r--src/core/wee-hook.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-hook.c b/src/core/wee-hook.c
index 606c878c9..822359877 100644
--- a/src/core/wee-hook.c
+++ b/src/core/wee-hook.c
@@ -2898,7 +2898,7 @@ hook_add_to_infolist_type (struct t_infolist *infolist, int type,
switch (ptr_hook->type)
{
case HOOK_TYPE_COMMAND:
- match = (strcmp (HOOK_COMMAND(ptr_hook, command), arguments) == 0);
+ match = string_match (HOOK_COMMAND(ptr_hook, command), arguments, 0);
break;
default:
break;