summaryrefslogtreecommitdiff
path: root/src/core/hook/wee-hook-line.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hook/wee-hook-line.c')
-rw-r--r--src/core/hook/wee-hook-line.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/hook/wee-hook-line.c b/src/core/hook/wee-hook-line.c
index 4e55f8c3c..6b3305fc4 100644
--- a/src/core/hook/wee-hook-line.c
+++ b/src/core/hook/wee-hook-line.c
@@ -87,7 +87,8 @@ hook_line (struct t_weechat_plugin *plugin, const char *buffer_type,
return NULL;
}
- hook_get_priority_and_name (buffer_type, &priority, &ptr_buffer_type);
+ string_get_priority_and_name (buffer_type, &priority, &ptr_buffer_type,
+ HOOK_PRIORITY_DEFAULT);
hook_init_data (new_hook, plugin, HOOK_TYPE_LINE, priority,
callback_pointer, callback_data);